1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

Add more debug info

This commit is contained in:
Gastón Fournier 2023-06-09 10:24:22 +02:00
parent 66cd4aca5a
commit a27628c271
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -67,7 +67,9 @@ jobs:
if [ $CURRENT -gt $MAIN ]; then
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 pinpoint the offending files."
diff .out-current .out-main
cat .out-current | sed 's/^/[out-current] /'
cat .out-main | sed 's/^/[out-main] /'
diff .out-current .out-main | sed 's/^/[diff] /'
exit 1
else
echo "The PR has $CURRENT null check errors against $MAIN in main. You're good to go!"