Fix pylint warnings
This commit is contained in:
parent
a724d6d684
commit
d19a1063d5
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,9 @@ def bootstrap_brightray(is_dev, url, target_arch):
|
||||||
execute_stdout([sys.executable, bootstrap] + args)
|
execute_stdout([sys.executable, bootstrap] + args)
|
||||||
|
|
||||||
|
|
||||||
def update_node_modules(dirname, env=os.environ):
|
def update_node_modules(dirname, env=None):
|
||||||
|
if env is None:
|
||||||
|
env = os.environ
|
||||||
with scoped_cwd(dirname):
|
with scoped_cwd(dirname):
|
||||||
if is_verbose_mode():
|
if is_verbose_mode():
|
||||||
execute_stdout([NPM, 'install', '--verbose'], env)
|
execute_stdout([NPM, 'install', '--verbose'], env)
|
||||||
|
|
Loading…
Add table
Reference in a new issue