Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Apr 12, 2024
1 parent 567ca84 commit cd0ee4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/docker/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ export class Docker {
}

let pulled = true;
await Exec.getExecOutput(`docker`, ['pull', image]).then(res => {
await Exec.getExecOutput(`docker`, ['pull', image], {
ignoreReturnCode: true
}).then(res => {
pulled = false;
console.log('res:', JSON.stringify(res, null, 2));
if (res.stderr.length > 0 && res.exitCode != 0) {
Expand Down

0 comments on commit cd0ee4d

Please sign in to comment.