Index: tool/format.sh |
diff --git a/tool/format.sh b/tool/format.sh |
index b3a0ce25425a186c4fac7906c6fa58b81188391f..b4cfc5531c24cd68631114d25b03b47a0f839810 100755 |
--- a/tool/format.sh |
+++ b/tool/format.sh |
@@ -11,6 +11,6 @@ cd $( dirname "${BASH_SOURCE[0]}" )/.. |
# * subdirectories of test/ and tool/, unless explicitly added. Those dirs |
# contain a lot of generated or external source we should not reformat. |
(files=`git ls-files 'bin/*.dart' 'lib/*.dart' test/*.dart test/checker/*.dart \ |
- tool/*.dart | grep -v lib/src/js/`; git status -s $files | grep -q . \ |
+ tool/*.dart | grep -v lib/src/js_ast/`; git status -s $files | grep -q . \ |
&& echo "Did not run the formatter, please commit edited files first." \ |
|| (echo "Running dart formatter" ; pub run dart_style:format -w $files)) |