Skip to content

Commit

Permalink
Fixing dry run for wait
Browse files Browse the repository at this point in the history
  • Loading branch information
doggydogworld committed Feb 20, 2025
1 parent f789366 commit 6ccb848
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/mac-distribution/notarize/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ func (t *Tool) WaitForSubmission(id string) error {
return trace.Wrap(err, "failed while waiting for submission to finish processing")
}

if t.dryRun {
return nil
}

var sub submissionResponseData
if err := json.Unmarshal([]byte(out), &sub); err != nil {
return trace.Wrap(err, "failed to parse output from submission request")
Expand Down

0 comments on commit 6ccb848

Please sign in to comment.