We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d40fc7c commit e2d0867Copy full SHA for e2d0867
1 file changed
build/build.js
@@ -42,7 +42,8 @@ async function createProject() {
42
process.chdir(kDawnPath);
43
fs.copyFileSync('scripts/standalone-with-node.gclient', '.gclient');
44
await execute('gclient', ['metrics', '--opt-out']);
45
- await execute('gclient', ['sync', '-D']);
+ // add -D only if gclieny sync was run before.
46
+ await execute('gclient', ['sync', ...addElemIf(exists('.gclient_entries'), '-D')]);
47
if (exists(kBuildPath)) {
48
fs.rmSync(kBuildPath, {recursive: true});
49
}
0 commit comments