Rebuild native modules during bootstrap
This commit is contained in:
parent
c19c14d0b3
commit
20fa2ce147
1 changed files with 2 additions and 0 deletions
|
@ -177,10 +177,12 @@ def update_node_modules(dirname, env=None):
|
|||
if os.environ.has_key('CI'):
|
||||
try:
|
||||
execute_stdout(args, env)
|
||||
execute_stdout([NPM, 'rebuild'], env)
|
||||
except subprocess.CalledProcessError:
|
||||
pass
|
||||
else:
|
||||
execute_stdout(args, env)
|
||||
execute_stdout([NPM, 'rebuild'], env)
|
||||
|
||||
|
||||
def update_electron_modules(dirname, target_arch):
|
||||
|
|
Loading…
Reference in a new issue