File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3047,13 +3047,12 @@ def print_tools(t):
3047
3047
print ('' )
3048
3048
3049
3049
tools_to_activate = currently_active_tools ()
3050
- args = [x for x in args if not x .startswith ('--' )]
3051
3050
for arg in args :
3052
3051
tool = find_tool (arg )
3053
3052
if tool is None :
3054
3053
tool = find_sdk (arg )
3055
- if tool is None :
3056
- error_on_missing_tool (arg )
3054
+ if tool is None :
3055
+ error_on_missing_tool (arg )
3057
3056
tools_to_activate += [tool ]
3058
3057
if not tools_to_activate :
3059
3058
errlog ('No tools/SDKs specified to activate! Usage:\n emsdk activate tool/sdk1 [tool/sdk2] [...]' )
Original file line number Diff line number Diff line change 15
15
16
16
& " $repo_root /emsdk.ps1" install latest
17
17
18
- $esc = ' --%'
19
- & " $repo_root /emsdk.ps1" activate latest $esc $env: PERMANENT_FLAG $env: SYSTEM_FLAG
18
+ & " $repo_root /emsdk.ps1" activate latest $env: PERMANENT_FLAG $env: SYSTEM_FLAG
20
19
21
20
if ($env: SYSTEM_FLAG ) {
22
21
$env_type = " Machine"
You can’t perform that action at this time.
0 commit comments