Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/e-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { ensureDir } from './utils/paths.js';
import * as depot from './utils/depot-tools.js';
import { configureReclient } from './utils/setup-reclient-chromium.js';
import { ensureSDK } from './utils/sdk.js';
import { ensurePrereqs } from './utils/prereqs.js';
import type { ElectronRemotes } from './types.js';

function setRemotes(cwd: string, repo: ElectronRemotes): void {
Expand Down Expand Up @@ -49,8 +48,6 @@ function setRemotes(cwd: string, repo: ElectronRemotes): void {
}

function runGClientSync(syncArgs: string[], syncOpts: { threeWay?: boolean }): void {
ensurePrereqs();

const config = evmConfig.current();
const srcdir = path.resolve(config.root, 'src');
ensureDir(srcdir);
Expand Down
4 changes: 4 additions & 0 deletions src/e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ import { program } from 'commander';
import * as evmConfig from './evm-config.js';
import { color, fatal } from './utils/logging.js';
import * as depot from './utils/depot-tools.js';
import { ensurePrereqs } from './utils/prereqs.js';
import { refreshPathVariable } from './utils/refresh-path.js';
import { ensureSDK } from './utils/sdk.js';

// Refresh the PATH variable at the top of this shell so that retries in the same shell get the latest PATH variable
refreshPathVariable();

// Fail fast on unsupported Node.js / Python runtimes before doing any work.
ensurePrereqs();

function maybeCheckForUpdates(): void {
// skip auto-update check if disabled
//
Expand Down