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

Unified Diff: tool/browser_test.sh

Issue 1257233008: fix language_tests.js to use strict mode (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
Index: tool/browser_test.sh
diff --git a/tool/browser_test.sh b/tool/browser_test.sh
index 6827e3e3fce969b9665215be60450de5e3e2c3d3..ffef3712348803b263cf76b9b7e218596d9d5cf7 100755
--- a/tool/browser_test.sh
+++ b/tool/browser_test.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Check that node exists and refers to nodejs
-checknodejs=$(hash node 2> /dev/null && node --help | grep nodejs)
+checknodejs=$(hash node 2> /dev/null && node --help | grep js)
if [[ $? -ne 0 ]]; then
echo 'NodeJS (node) is not properly installed'
echo 'Note, on Ubuntu / Debian, you may need to also install:'

Powered by Google App Engine
This is Rietveld 408576698