File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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}
2626info " 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
2929count=$( grep -c ' lints found.' < build/lint-result.txt)
3030if [ " $count " = " 0" ]; then
3131 info " Lint check passed."
3232else
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"
3535fi
You can’t perform that action at this time.
0 commit comments