diff options
author | veetaha <[email protected]> | 2020-03-26 21:45:01 +0000 |
---|---|---|
committer | veetaha <[email protected]> | 2020-03-26 21:45:01 +0000 |
commit | 261ef1c4555839c2f054ead8dd622b20e1a39106 (patch) | |
tree | 4e34ebd96d8120c6f1a3b2c543e9b97b2d9a0098 /editors | |
parent | e1a5e9565b9ef741f337251bef98ca70279f77eb (diff) |
vscode: small post-refactor
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/main.ts | 4 |
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; |