mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-22 18:21:20 +01:00
clean code
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
This commit is contained in:
parent
9a0a0927cd
commit
671216bac8
3 changed files with 3 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue