Error on unknown arguments passed to --activate (#1313)

See #1312
This commit is contained in:
Sam Clegg
2023-12-08 10:30:37 -08:00
committed by GitHub
parent ef77dcc2c0
commit cc1b3efbd3
2 changed files with 3 additions and 5 deletions

View File

@@ -15,8 +15,7 @@ try {
& "$repo_root/emsdk.ps1" install latest
$esc = '--%'
& "$repo_root/emsdk.ps1" activate latest $esc $env:PERMANENT_FLAG $env:SYSTEM_FLAG
& "$repo_root/emsdk.ps1" activate latest $env:PERMANENT_FLAG $env:SYSTEM_FLAG
if ($env:SYSTEM_FLAG) {
$env_type = "Machine"