Pause scripts on errors
This commit is contained in:
parent
ba5c46a884
commit
19900bac81
4 changed files with 6 additions and 3 deletions
scripts/Windows/Scripts
|
@ -1,7 +1,5 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/Context.ps1";
|
||||
$Global:InformationPreference = "Continue";
|
||||
$Global:ErrorActionPreference = "Inquire";
|
||||
|
||||
[Context]::new().PreventSleepMode();
|
||||
$null = powershell -c Get-PackageProvider -ListAvailable NuGet;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue