fixed lint warning

This commit is contained in:
vsrs 2020-04-30 18:57:40 +03:00
parent 11e9e4b1fb
commit 06b7175650

View file

@ -56,7 +56,7 @@ export class Cargo {
} }
public async executableFromArgs(args: string[]): Promise<string> { public async executableFromArgs(args: string[]): Promise<string> {
let cargoArgs = [...args]; // to remain args unchanged const cargoArgs = [...args]; // to remain args unchanged
cargoArgs.push("--message-format=json"); cargoArgs.push("--message-format=json");
const artifacts = await this.artifactsFromArgs(cargoArgs); const artifacts = await this.artifactsFromArgs(cargoArgs);