Skip to content

Commit

Permalink
end script block
Browse files Browse the repository at this point in the history
  • Loading branch information
jpawlowski committed Aug 28, 2024
1 parent da13109 commit 5f10195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/powershell-extended/Install-NerdFont.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ begin {
Write-Host "Selection process canceled."
if ($null -eq $MyInvocation.InvocationName -or $MyInvocation.InvocationName -eq '&') {
# Running as a script block
break
return
}
else {
# Running as a standalone script
Expand Down

0 comments on commit 5f10195

Please sign in to comment.