Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(866)

Unified Diff: third_party/WebKit/Source/devtools/scripts/install_node_deps.py

Issue 2455673003: DevTools: Install local node.js for Mac (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/scripts/install_node_deps.py
diff --git a/third_party/WebKit/Source/devtools/scripts/install_node_deps.py b/third_party/WebKit/Source/devtools/scripts/install_node_deps.py
index eacd18d04f9f0081f0ca70c9882471d08f967a3c..ab8eeab8c9f89e1d0faf59c9c7fd6fa767d9d20c 100755
--- a/third_party/WebKit/Source/devtools/scripts/install_node_deps.py
+++ b/third_party/WebKit/Source/devtools/scripts/install_node_deps.py
@@ -37,10 +37,10 @@ def resolve_node_paths():
return (local_node_binary_path, local_npm_binary_path)
if path.isdir(local_node_runtimes_path):
shutil.rmtree(local_node_runtimes_path)
- if sys.platform == 'linux2':
+ if sys.platform == 'linux2' or sys.platform == 'darwin':
install_node()
return (local_node_binary_path, local_npm_binary_path)
- print('ERROR: Please install the latest node.js LTS version using the Mac or Windows installer:')
+ print('ERROR: Please install the latest node.js LTS version using the Windows installer:')
print('https://nodejs.org/en/download/')
raise
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698