aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.ts
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-03-26 21:45:01 +0000
committerveetaha <[email protected]>2020-03-26 21:45:01 +0000
commit261ef1c4555839c2f054ead8dd622b20e1a39106 (patch)
tree4e34ebd96d8120c6f1a3b2c543e9b97b2d9a0098 /editors/code/src/main.ts
parente1a5e9565b9ef741f337251bef98ca70279f77eb (diff)
vscode: small post-refactor
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r--editors/code/src/main.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 6cde5c366..980ed925b 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -169,9 +169,7 @@ async function bootstrapServer(config: Config, state: PersistentState): Promise<
169 log.debug("Checked binary availability via --version", res); 169 log.debug("Checked binary availability via --version", res);
170 log.debug(res, "--version output:", res.output); 170 log.debug(res, "--version output:", res.output);
171 if (res.status !== 0) { 171 if (res.status !== 0) {
172 throw new Error( 172 throw new Error(`Failed to execute ${path} --version`);
173 `Failed to execute ${path} --version`
174 );
175 } 173 }
176 174
177 return path; 175 return path;