From b4fae56a25a3643198ebe1c3c0d52148cfc49477 Mon Sep 17 00:00:00 2001 From: oxalica Date: Sat, 16 Nov 2019 18:52:47 +0800 Subject: [PATCH] Fix format --- editors/code/src/commands/runnables.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 93171bc757f..ac59bf60db6 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts @@ -161,7 +161,9 @@ export async function startCargoWatch( ): Promise { const execPromise = util.promisify(child_process.exec); - const { stderr, code = 0 } = await execPromise('cargo watch --version').catch(e => e); + const { stderr, code = 0 } = await execPromise( + 'cargo watch --version' + ).catch(e => e); if (stderr.includes('no such subcommand: `watch`')) { const msg =