Rebuild native modules during bootstrap

This commit is contained in:
Kevin Sawicki 2017-05-02 13:24:29 -07:00
parent c19c14d0b3
commit 20fa2ce147

View file

@ -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):