Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
PrincessMadMath committed Dec 17, 2024
1 parent 7238c25 commit f4731c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Begin {
Process {
function Exec([scriptblock]$Command) {
& $Command
$exitCode = $LASTEXITCODE
Write-Output ("Command executed with exit code: {0}" -f $exitCode)
if ($LASTEXITCODE -ne 0) {
throw ("An error occurred while executing command: {0}" -f $Command)
}
Expand Down

0 comments on commit f4731c7

Please sign in to comment.