Skip to content

Commit

Permalink
check_modules.pl allow newer versions of node.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
drgrice1 committed Nov 7, 2023
1 parent 6130e6c commit dc05cbe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/check_modules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dc05cbe

Please sign in to comment.