diff options
-rw-r--r-- | editors/code/src/cargo.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/cargo.ts b/editors/code/src/cargo.ts index 3a7e70307..a328ba9bd 100644 --- a/editors/code/src/cargo.ts +++ b/editors/code/src/cargo.ts | |||
@@ -56,7 +56,7 @@ export class Cargo { | |||
56 | } | 56 | } |
57 | 57 | ||
58 | public async executableFromArgs(args: string[]): Promise<string> { | 58 | public async executableFromArgs(args: string[]): Promise<string> { |
59 | let cargoArgs = [...args]; // to remain args unchanged | 59 | const cargoArgs = [...args]; // to remain args unchanged |
60 | cargoArgs.push("--message-format=json"); | 60 | cargoArgs.push("--message-format=json"); |
61 | 61 | ||
62 | const artifacts = await this.artifactsFromArgs(cargoArgs); | 62 | const artifacts = await this.artifactsFromArgs(cargoArgs); |