Fix format

This commit is contained in:
oxalica 2019-11-16 18:52:47 +08:00
parent 4c175fbe8a
commit b4fae56a25
No known key found for this signature in database
GPG key ID: CED392DE0C483D00

View file

@ -161,7 +161,9 @@ export async function startCargoWatch(
): Promise<CargoWatchProvider | undefined> { ): Promise<CargoWatchProvider | undefined> {
const execPromise = util.promisify(child_process.exec); 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`')) { if (stderr.includes('no such subcommand: `watch`')) {
const msg = const msg =