mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
docs: better comment in strictNullCheck action (#3198)
## About the changes This is a small improvement adding more context to the comment message when this action fails. --------- Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
This commit is contained in:
parent
ef2f184845
commit
2e749a2b3e
@ -66,7 +66,7 @@ jobs:
|
||||
MAIN=$(grep "Found [0-9]* errors" .out-main | sed 's/Found \(.*\) errors in .* files./\1/')
|
||||
|
||||
if [ $CURRENT -gt $MAIN ]; then
|
||||
comment "After enabling strictNullChecks this PR would be increasing the number of null check errors from ${MAIN} to ${CURRENT}. Make sure your branch is up-to-date with ${MAIN_BRANCH} and check the diff in the console output to gather more details"
|
||||
comment "After enabling [\`strictNullChecks\`](https://www.typescriptlang.org/tsconfig#strictNullChecks) this PR would be **increasing** the number of null check errors from ${MAIN} to ${CURRENT}. <br /> Make sure your branch is up-to-date with ${MAIN_BRANCH} and **check the diff in the console output** to gather more details."
|
||||
diff .out-current .out-main
|
||||
exit 1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user