提交 a3e31678 编写于 作者: R Rob Lourens

Cleanup

上级 221475ef
......@@ -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`);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册