Skip to content

Instantly share code, notes, and snippets.

@dmose
Created June 15, 2021 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmose/6a184eeaac89470424e274d1788913cd to your computer and use it in GitHub Desktop.
Save dmose/6a184eeaac89470424e274d1788913cd to your computer and use it in GitHub Desktop.
diff --git a/python/mozbuild/mozbuild/nodeutil.py b/python/mozbuild/mozbuild/nodeutil.py
index 7ddd74ad8f2ed..ff28ca2e4686f 100644
--- a/python/mozbuild/mozbuild/nodeutil.py
+++ b/python/mozbuild/mozbuild/nodeutil.py
@@ -23,6 +23,7 @@ def find_node_paths():
Returns a list of paths, which includes the build state directory.
"""
mozbuild_tools_dir = get_tools_dir()
+ print("mozbuild_tools_dir = {}".format(mozbuild_tools_dir))
if platform.system() == "Windows":
mozbuild_node_path = os.path.join(mozbuild_tools_dir, "node")
@@ -41,6 +42,8 @@ def find_node_paths():
os.path.join(os.environ.get("PROGRAMFILES"), "nodejs"),
]
+ print(('node paths = {}'.format(paths)))
+
return paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment