properly deprecate all arguments to --minify except for 0
This commit is contained in:
Родитель
767b7f7052
Коммит
61d8808b53
1
emcc
1
emcc
|
@ -787,6 +787,7 @@ try:
|
|||
newargs[i+1] = ''
|
||||
elif newargs[i].startswith('--minify'):
|
||||
check_bad_eq(newargs[i])
|
||||
assert newargs[i+1] == '0', '0 is the only supported option for --minify; 1 has been deprecated'
|
||||
debug_level = max(1, debug_level)
|
||||
newargs[i] = ''
|
||||
newargs[i+1] = ''
|
||||
|
|
Загрузка…
Ссылка в новой задаче