diff --git a/ci/licenses.sh b/ci/licenses.sh index 9e366d2ce9516..d5aab8294c946 100755 --- a/ci/licenses.sh +++ b/ci/licenses.sh @@ -81,7 +81,7 @@ dart --version # Runs the tests for the license script. function run_tests() ( cd "$SRC_DIR/flutter/tools/licenses" - find . -name "*_test.dart" | xargs -n 1 dart -enable-asserts + find . -name "*_test.dart" | xargs -n 1 dart --enable-asserts ) # Collects the license information from the repo.