From dc05cbea004bf143f333cb4d173a3e79b19e054f Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 5 Sep 2023 06:10:30 -0500 Subject: [PATCH] check_modules.pl allow newer versions of node. Allow any version of node that is 16 or newer. Don't insist on version 16 exactly. I am currently using node 20 and was using 18 before that. I haven't seen any issues with these newer versions. --- bin/check_modules.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/check_modules.pl b/bin/check_modules.pl index 3c7d3c4dc1..d2c7797633 100755 --- a/bin/check_modules.pl +++ b/bin/check_modules.pl @@ -209,9 +209,8 @@ sub check_apps { my $node_version_str = qx/node -v/; my ($node_version) = $node_version_str =~ m/v(\d+)\./; - if ($node_version != 16) { - print "\n\n**The version of node should be 16. You have version $node_version"; - } + print "\n\n**The version of node should be at least 16. You have version $node_version" + if ($node_version < 16); } sub which {