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

Unified Diff: tool/analyze.sh

Issue 1245013002: some fixes for --strong warnings (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
« lib/src/utils.dart ('K') | « lib/src/utils.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/analyze.sh
diff --git a/tool/analyze.sh b/tool/analyze.sh
index 7f1b35e24a38ac3b200ff6fb3ed11ffd88a12232..8b46f72c388b86edeb20f7aab3f9d3fbfe9d0fc8 100755
--- a/tool/analyze.sh
+++ b/tool/analyze.sh
@@ -15,5 +15,5 @@ function fail {
# TODO(jmesserly): ideally we could do test/all_tests.dart, but
# dart_runtime_test.dart creates invalid generic type instantiation AA.
echo "Running dartanalyzer to check for errors/warnings/hints..."
-dartanalyzer --fatal-warnings --package-warnings bin/devc.dart | (! grep $PWD) \
- || fail
+dartanalyzer --fatal-warnings --package-warnings bin/devc.dart \
+ | (! grep $PWD) || fail
« lib/src/utils.dart ('K') | « lib/src/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698