Fix calling clean.py
This commit is contained in:
Родитель
6b7d3a070a
Коммит
f5ae3111ba
|
@ -48,7 +48,7 @@ def main():
|
|||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
|
||||
execute(['clean.py'])
|
||||
run_script('clean.py')
|
||||
|
||||
# CI's npm is not reliable.
|
||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||
|
@ -84,4 +84,5 @@ if __name__ == '__main__':
|
|||
try:
|
||||
sys.exit(main())
|
||||
except subprocess.CalledProcessError:
|
||||
execute(['clean.py'])
|
||||
run_script('clean.py')
|
||||
raise
|
||||
|
|
Загрузка…
Ссылка в новой задаче