diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index c55f62348880ef34fccb0e97f6218be886a606df..0e592c2fd486f64457ce3ae578ea94febcc5eb74 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js @@ -494,15 +494,13 @@ gulp.task(task.define( 'upload-vscode-configuration', task.series( generateVSCodeConfigurationTask, - async () => { + () => { if (!shouldSetupSettingsSearch()) { const branch = process.env.BUILD_SOURCEBRANCH; console.log(`Only runs on master and release branches, not ${branch}`); return; } - // Sometimes the file is claimed to not exist for a few milliseconds after the vscode process exits - await new Promise(resolve => setTimeout(resolve, 500)); if (!fs.existsSync(allConfigDetailsPath)) { throw new Error(`configuration file at ${allConfigDetailsPath} does not exist`); }