Skip to content

Commit 0bd25c4

Browse files
Switch dev.ps1 from $env assignment to Set-Item for environment variable handling
1 parent 21bbbde commit 0bd25c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Get-Content $envFile |
1111
$key = $Matches['key'].Trim()
1212
$val = $Matches['val'].Trim()
1313

14-
$env: $key = $val
14+
Set-Item -Path "Env:$key" -Value $val
1515
}
1616
}
1717

0 commit comments

Comments
 (0)