Skip to content

Commit 0899dc2

Browse files
committed
remove deprecated dartanalyzer
1 parent ba3e7d2 commit 0899dc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
##################################################################
33
##
4-
## Test case for CI buiding
4+
## Test case for CI building
55
##
66
##
77
## Author: Chaobin Wu
@@ -24,12 +24,12 @@ die() {
2424
exit 1
2525
}
2626
info "Step 1 Run custom lint rules"
27-
dartanalyzer lib --options ci-analysis_options.yaml >build/lint-result.txt
27+
dart analyze lib ci-analysis_options.yaml >build/lint-result.txt
2828
# n lints found. => issue found, No issues found! => success
2929
count=$(grep -c 'lints found.' <build/lint-result.txt)
3030
if [ "$count" = "0" ]; then
3131
info "Lint check passed."
3232
else
3333
warning "Issues list:\n$(grep 'lint' <build/lint-result.txt)"
34-
die "Failed to passs Lint rules, check lint result at build/lint-result.txt"
34+
die "Failed to pass Lint rules, check lint result at build/lint-result.txt"
3535
fi

0 commit comments

Comments
 (0)