Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: ensure_dependencies.py

Issue 29630668: Issue 6142 - suppress missing Node.js warning when passing -q (Closed)
Patch Set: Created Dec. 5, 2017, 1:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
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: ensure_dependencies.py
diff --git a/ensure_dependencies.py b/ensure_dependencies.py
index 2e7013da39ee3d207f89cbc7b0a0c0117461bc17..119d024630db89ab2ee2d370e99b226335bbe6ea 100755
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -298,8 +298,8 @@ def resolve_npm_dependencies(target, vcs):
except OSError as e:
import errno
if e.errno == errno.ENOENT:
- logging.error('Failed to install Node.js dependencies for %s,'
- ' please ensure Node.js is installed.', target)
+ logging.info('Failed to install Node.js dependencies for %s,'
+ ' please ensure Node.js is installed.', target)
else:
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