]> khamidou — GitHub mirrors - electron.git/commitdiff
Update npm after node is downloaded.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 28 Jun 2013 08:10:12 +0000 (16:10 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 07:21:55 +0000 (15:21 +0800)
So we can execute npm even without system node.

script/bootstrap.py

index 73a5492bd36fa58c14fdc0b080c3d0400bfdea08..a2b646f388192f9a42a8b66e23c726650616b6a4 100755 (executable)
@@ -17,9 +17,9 @@ def main():
 
   args = parse_args()
   update_submodules()
-  update_npm()
   bootstrap_brightray(args.url)
   update_atom_shell()
+  update_npm()
 
 
 def parse_args():