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':
|
if PLATFORM == 'linux':
|
||||||
os.environ['DISPLAY'] = ':99.0'
|
os.environ['DISPLAY'] = ':99.0'
|
||||||
|
|
||||||
execute(['clean.py'])
|
run_script('clean.py')
|
||||||
|
|
||||||
# CI's npm is not reliable.
|
# CI's npm is not reliable.
|
||||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||||
|
@ -84,4 +84,5 @@ if __name__ == '__main__':
|
||||||
try:
|
try:
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
execute(['clean.py'])
|
run_script('clean.py')
|
||||||
|
raise
|
||||||
|
|
Loading…
Reference in a new issue