Apply the error action globally
This commit is contained in:
parent
6e1322697a
commit
2943621d6c
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ function Start-Operation {
|
||||||
[scriptblock] $Action
|
[scriptblock] $Action
|
||||||
)
|
)
|
||||||
|
|
||||||
$ErrorActionPreference = 'Inquire';
|
$Global:ErrorActionPreference = 'Inquire';
|
||||||
$env:WSLENV = "CONFIG_MODULE/p";
|
$env:WSLENV = "CONFIG_MODULE/p";
|
||||||
|
|
||||||
if ($env:CONFIG_MODULE) {
|
if ($env:CONFIG_MODULE) {
|
||||||
|
|
Loading…
Reference in a new issue