properly detect insiders for smoke test

This commit is contained in:
Benjamin Pasero
2017-07-21 10:38:46 +02:00
parent 1369a432ff
commit 886f58c6d8
+1 -1
View File
@@ -48,7 +48,7 @@ if (program.stable) {
process.env.VSCODE_STABLE_PATH = program.stable;
}
process.env.SMOKETEST_REPO = testRepoLocalDir;
if (program.latest && program.latest.indexOf('Code - Insiders') >= 0) {
if (program.latest && (program.latest.indexOf('Code - Insiders') /* macOS/Windows */ || program.latest.indexOf('code-insiders') /* Linux */) >= 0) {
process.env.VSCODE_EDITION = 'insiders';
}
process.env.VSCODE_WORKSPACE_PATH = codeWorkspace;