Skip to content

Commit 5020557

Browse files
committed
Improve soundness date checking
1 parent 7e30929 commit 5020557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/soundness.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set -eu
1717
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1818
function replace_acceptable_years() {
1919
# this needs to replace all acceptable forms with 'YEARS'
20-
sed -e 's/2020-2022/YEARS/' -e 's/202[012]/YEARS/'
20+
sed -e 's/202[01]-202[12]/YEARS/' -e 's/202[012]/YEARS/'
2121
}
2222

2323

0 commit comments

Comments
 (0)