Prevent unnecessary errors during WSL execution

This commit is contained in:
Manuel Thalmann 2024-08-21 14:08:26 +02:00
parent 31e3c51f97
commit 18abc9e499

View file

@ -30,6 +30,8 @@ $null = New-Module {
[string] $Path [string] $Path
) )
& {
$ErrorActionPreference = 'Continue';
$completed = $false; $completed = $false;
while (-not $completed) { while (-not $completed) {
@ -57,6 +59,7 @@ $null = New-Module {
} }
$result; $result;
};
} }
<# <#