Skip to content

Commit

Permalink
Ensure self-updater binary test works
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Jul 29, 2022
1 parent b7dbda0 commit 0799a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func GithubUpdate(repo, appName, currentVersion string) (string, error) {

// ensure the new binary is executable (mainly for inconsistent darwin builds)
/* #nosec G204 */
cmd := exec.Command(newExec)
cmd := exec.Command(newExec, "-h")
if err := cmd.Run(); err != nil {
return "", err
}
Expand Down

0 comments on commit 0799a6d

Please sign in to comment.