Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit b01fdda

Browse files
committed
fix(scripts): set CI=true in pre-push hook
This enables -Werror
1 parent 1bc22c6 commit b01fdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pre-push-hook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ while read -r local_ref local_oid remote_ref remote_oid; do
1313
_=$remote_ref
1414
_=$remote_oid
1515
if [ "${local_oid}" != "${ZERO}" ]; then
16-
"${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint ktfmtCheck test -PslimTests
16+
CI=true "${GRADLE_EXEC}" metalavaCheckCompatibilityRelease lint ktfmtCheck test -PslimTests
1717
fi
1818
done

0 commit comments

Comments
 (0)