mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Fix format
This commit is contained in:
parent
4c175fbe8a
commit
b4fae56a25
1 changed files with 3 additions and 1 deletions
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue