clean code

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
This commit is contained in:
Luca Stocchi 2020-11-07 13:33:57 +01:00
parent 9a0a0927cd
commit 671216bac8
No known key found for this signature in database
GPG key ID: 930BB00F3FCF30A4
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -29,7 +29,7 @@ async function execute(executable: string, args: string[]): Promise<CommandResul
error += data.toString();
}
};
const exitCode = await exec.exec(this.executable, args, options);
const exitCode = await exec.exec(executable, args, options);
if (exitCode === 1) {
return Promise.resolve({ succeeded: false, error: error });
}