Skip to content

Commit

Permalink
Fix pre-release flag in command ⚓
Browse files Browse the repository at this point in the history
  • Loading branch information
Nützi, Gabriel committed Dec 30, 2021
1 parent da73198 commit 7ff67ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githooks/apps/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func updateGithooks(settings *HookSettings, uiSettings *UISettings) {
var usePreRelease bool
if settings.GitX.GetConfig(hooks.GitCKAutoUpdateUsePrerelease, git.GlobalScope) == git.GitCVTrue {
usePreRelease = true
opts = append(opts, "--use-prerelease")
opts = append(opts, "--use-pre-release")
}

updateAvailable, accepted, err := updates.RunUpdate(
Expand Down

0 comments on commit 7ff67ce

Please sign in to comment.