Skip to content

Commit

Permalink
cmd/aliases: Remove error code from PowerShell return
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Sep 24, 2023
1 parent 6cc5a08 commit 4c239bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/aliases/powershell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Hugo-Override {
If ($hugo_bin) {
hvm use --useVersionInDotFile
if ($lastexitcode) {
return 1
return
}
} Else {
Set-Variable -Name "hugo_bin" -Value $((gcm hugo.exe).Path 2> $null)
Expand Down

0 comments on commit 4c239bb

Please sign in to comment.