diff --git a/editors/code/src/commands/cargo_watch.ts b/editors/code/src/commands/cargo_watch.ts index 6b61130173d5..32bd38a1cc4e 100644 --- a/editors/code/src/commands/cargo_watch.ts +++ b/editors/code/src/commands/cargo_watch.ts @@ -52,7 +52,7 @@ export class CargoWatchProvider { args += ' ' + Server.config.cargoWatchOptions.checkArguments; } // Windows handles arguments differently than the unix-likes, so we need to wrap the args in double quotes - if (process.platform == "win32") { + if (process.platform === 'win32') { args = '"' + args + '"'; }