Skip to content

Commit d0c24c2

Browse files
committed
Fix copyright checker
The heredoc had wrong indentation.
1 parent 69bab9b commit d0c24c2

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/code-formatting.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,8 @@ jobs:
143143
144144
# Tell user what to do in case of copyright notice error
145145
if [ -n "$have_err" ]; then
146-
cat << EOF >&2
147-
::error::The files listed above are missing the correct copyright notice.
148-
::error::Make sure all your source files begin with the following exact lines:
149-
$COPYRIGHT
150-
EOF
146+
echo '::error::The files listed above are missing the correct copyright notice.' >&2
147+
echo '::error::Make sure all your source files begin with the following exact lines:' >&2
148+
echo "$COPYRIGHT" >&2
151149
exit 1
152150
fi

0 commit comments

Comments
 (0)