Skip to content

Commit

Permalink
Merge pull request #310 from SamErde/sde-ReturnInsteadOfExit-160
Browse files Browse the repository at this point in the history
Do not exit shell when cancelling Update-MaesterTests
  • Loading branch information
merill authored Jul 8, 2024
2 parents 028af1f + d1a92e6 commit deadaa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions powershell/internal/Update-MtMaesterTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Function Update-MtMaesterTests {
}
} else {
Write-Host "Maester tests not $installOrUpdate." -ForegroundColor Red
exit
return
}
}
}
Expand All @@ -64,4 +64,4 @@ Function Update-MtMaesterTests {
}

Write-Host "Maester tests $installOrUpdate successfully!`n$message" -ForegroundColor Green
}
}

0 comments on commit deadaa6

Please sign in to comment.