aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroxalica <[email protected]>2019-11-16 10:52:47 +0000
committeroxalica <[email protected]>2019-11-16 10:52:47 +0000
commitb4fae56a25a3643198ebe1c3c0d52148cfc49477 (patch)
treef163abca039d0b0b0dc2398d5c603767f68b491e
parent4c175fbe8a7bb899b6e32994b96d4f3389c1dccc (diff)
Fix format
-rw-r--r--editors/code/src/commands/runnables.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index 93171bc75..ac59bf60d 100644
--- a/editors/code/src/commands/runnables.ts
+++ b/editors/code/src/commands/runnables.ts
@@ -161,7 +161,9 @@ export async function startCargoWatch(
161): Promise<CargoWatchProvider | undefined> { 161): Promise<CargoWatchProvider | undefined> {
162 const execPromise = util.promisify(child_process.exec); 162 const execPromise = util.promisify(child_process.exec);
163 163
164 const { stderr, code = 0 } = await execPromise('cargo watch --version').catch(e => e); 164 const { stderr, code = 0 } = await execPromise(
165 'cargo watch --version'
166 ).catch(e => e);
165 167
166 if (stderr.includes('no such subcommand: `watch`')) { 168 if (stderr.includes('no such subcommand: `watch`')) {
167 const msg = 169 const msg =