mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-26 04:57:50 +00:00
make soundness check aware of 2023 (#378)
Motivation: Soundness check currently fails for copyright statements including 2023 as the year Modifications: add '3' to the checking regex Result: Soundness checks should not fail for documents created this year Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
1 parent
38feec96bc
commit
312fb6813f
1 file changed
+1
-1
@@ -18,7 +18,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
function replace_acceptable_years() {
|
||||
# this needs to replace all acceptable forms with 'YEARS'
|
||||
sed -e 's/20[12][78901]-20[12][89012]/YEARS/' -e 's/20[12][89012]/YEARS/'
|
||||
sed -e 's/20[12][78901]-20[12][890123]/YEARS/' -e 's/20[12][890123]/YEARS/'
|
||||
}
|
||||
|
||||
printf "=> Checking linux tests... "
|
||||
|
||||
Reference in new issue
Block a user