Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit dedda4d

Browse files
authored
Fix 'dart --enable-asserts' typo in license check script (#55082)
`dart -enable-asserts` should be `--enable-asserts` with two `-`s. License script is complaining: ``` Could not find an option with short name "-e". ``` https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8737159074465654417/+/u/test:_licenses_check/stdout Typo from: https://github.com/flutter/engine/pull/54845/files#diff-0845c01add635bd6976b8aefd761c14899002c53f9d0ff596cc7f4667cd49f71R84 Fixes flutter/flutter#154942 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 71b4159 commit dedda4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/licenses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ dart --version
8181
# Runs the tests for the license script.
8282
function run_tests() (
8383
cd "$SRC_DIR/flutter/tools/licenses"
84-
find . -name "*_test.dart" | xargs -n 1 dart -enable-asserts
84+
find . -name "*_test.dart" | xargs -n 1 dart --enable-asserts
8585
)
8686

8787
# Collects the license information from the repo.

0 commit comments

Comments
 (0)