diff options
-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; |