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 a28eb2c commit 271c5b7Copy full SHA for 271c5b7
.github/workflows/scripts/check-license-header.sh
@@ -116,7 +116,7 @@ while IFS= read -r file_path; do
116
file_header=$(head -n "${expected_file_header_linecount}" "${file_path}")
117
normalized_file_header=$(
118
echo "${file_header}" \
119
- | sed -E -e 's/20[12][0123456789] ?- ?20[12][0123456789]/YEARS/' -e 's/20[12][0123456789]/YEARS/' \
+ | sed -E -e 's/20[12][0123456789] ?[-–] ?20[12][0123456789]/YEARS/' -e 's/20[12][0123456789]/YEARS/' \
120
)
121
122
if ! diff -u \
0 commit comments