diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index c363f4d26cf..4831c70e07b 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js @@ -508,7 +508,7 @@ function getSettingsSearchBuildId(packageJson) { /\/master$/.test(branch) ? 1 : 2; // Some unexpected branch - const out = cp.execSync(`git rev-list master --count`); + const out = cp.execSync(`git rev-list HEAD --count`); const count = parseInt(out.toString()); //