We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d48b4d commit 17aa86bCopy full SHA for 17aa86b
.github/workflows/scripts/check-license-header.sh
@@ -17,12 +17,11 @@ log() { printf -- "** %s\n" "$*" >&2; }
17
error() { printf -- "** ERROR: %s\n" "$*" >&2; }
18
fatal() { error "$@"; exit 1; }
19
20
-test -n "${PROJECT_NAME:-}" || fatal "PROJECT_NAME unset"
21
-
22
if [ -f .license_header_template ]; then
23
# allow projects to override the license header template
24
expected_file_header_template=$(cat .license_header_template)
25
else
+ test -n "${PROJECT_NAME:-}" || fatal "PROJECT_NAME unset"
26
expected_file_header_template="@@===----------------------------------------------------------------------===@@
27
@@
28
@@ This source file is part of the ${PROJECT_NAME} open source project
0 commit comments