Fix calling clean.py
This commit is contained in:
parent
6b7d3a070a
commit
f5ae3111ba
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue