From 7ea5daf46899b936044207075259602023ad3df2 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Mon, 2 Oct 2017 14:56:48 +0200 Subject: [PATCH] fix compile error --- 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 6a1cad553fd..0c340e52f52 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -89,7 +89,7 @@ if (testCodePath) { process.env.VSCODE_CLI = '1'; } -if (!fs.existsSync(process.env.VSCODE_PATH)) { +if (!fs.existsSync(process.env.VSCODE_PATH || '')) { fail(`Can't find Code at ${process.env.VSCODE_PATH}.`); }