aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/cargo.ts
diff options
context:
space:
mode:
authorvsrs <[email protected]>2020-04-30 16:57:40 +0100
committervsrs <[email protected]>2020-04-30 16:57:40 +0100
commit06b7175650c0c2570a66126b64696ed177e0d1fa (patch)
tree5af6936166d7aa060f226a01356176274dcd2e9a /editors/code/src/cargo.ts
parent11e9e4b1fb48fb24a206c65c43fb374fe57dc26f (diff)
fixed lint warning
Diffstat (limited to 'editors/code/src/cargo.ts')
-rw-r--r--editors/code/src/cargo.ts2
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);