Skip to content

Commit

Permalink
fix(verify): fix logic around the conditional prepare step
Browse files Browse the repository at this point in the history
corrects a logic bug that allows prepare steps to build when not in dry
run mode
  • Loading branch information
esatterwhite committed Mar 25, 2024
1 parent 202308c commit eac8c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ async function verify(opts, context) {
await doLogin({...opts, USERNAME, PASSWORD}, context)
}

if (!opts.verifycmd && !opts.dry_run) return true
if (!opts.verifycmd) return true
if (!opts.dry_run) return true

const img = await prepare(opts, context)
const output = await img.run(opts.verifycmd)
Expand Down

0 comments on commit eac8c9c

Please sign in to comment.