File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 177177echo " ----------------------------------------------------------------"
178178
179179if [ -n " $GITHUB_ACTIONS " ]; then
180- test " $EXITCODE " -gt 1 && echo " ::error title=Spelling check::Spelling check action failed, please check diagnostics" ;
181-
182- test " $EXITCODE " -eq 1 && echo " ::error title=Spelling errors::Files in repository contain spelling errors" ;
180+ test " $EXITCODE " -gt 0 && echo " ::error title=Error::Files in repository contain spelling errors or or spelling check action failed, please check diagnostics" ;
183181else
184- test " $EXITCODE " -gt 1 && echo " Spelling check action failed, please check diagnostics" ;
185-
186- test " $EXITCODE " -eq 1 && echo " Files in repository contain spelling errors" ;
182+ test " $EXITCODE " -gt 0 && echo " Files in repository contain spelling errors or spelling check action failed, please check diagnostics" ;
187183fi
188184
189185exit " $EXITCODE "
You can’t perform that action at this time.
0 commit comments