From 886f58c6d80eb83e846696ed4618f4886a2a5b80 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 21 Jul 2017 10:38:46 +0200 Subject: [PATCH] properly detect insiders for smoke test --- test/smoke/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index 65626aaca28..ebff29b7fed 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -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;