Skip to content

Commit

Permalink
fix: Disallow Node.js major version >20
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Jul 1, 2024
1 parent 4f70e66 commit 6102eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repoconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ golang_version_check() {
nodejs_version_check() {
{
[ "$1" -eq 18 ] && [ "$2" -ge 12 ] && return 0
[ "$1" -ge 20 ] && [ "$2" -ge 9 ] && return 0
[ "$1" -eq 20 ] && [ "$2" -ge 9 ] && return 0
} 2> /dev/null
echo 1>&2 "need Node.js LTS version ^18.12 or ^20.9, found $1.$2.$3"
return 1
Expand Down

0 comments on commit 6102eb9

Please sign in to comment.