зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1575375 - Allow nodeutil to find node on its own on automation. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42756 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ab23d101a0
Коммит
6b7c48eb98
|
@ -25,7 +25,10 @@ def find_node_paths():
|
|||
"""
|
||||
# Also add in the location to which `mach bootstrap` or
|
||||
# `mach artifact toolchain` installs clang.
|
||||
mozbuild_state_dir = get_state_dir()
|
||||
if 'MOZ_FETCHES_DIR' in os.environ:
|
||||
mozbuild_state_dir = os.environ['MOZ_FETCHES_DIR']
|
||||
else:
|
||||
mozbuild_state_dir = get_state_dir()
|
||||
|
||||
if platform.system() == "Windows":
|
||||
mozbuild_node_path = os.path.join(mozbuild_state_dir, 'node')
|
||||
|
|
Загрузка…
Ссылка в новой задаче