Skip to content

Commit

Permalink
set exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
avidit committed Mar 6, 2025
1 parent 34b18c6 commit afce9ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/setnpmreg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ try {
catch {
Write-Host "An error occurred: $_" -ForegroundColor Red
createNpmrcFile -registry $npmRegistry
exit 0
}

0 comments on commit afce9ca

Please sign in to comment.