Skip to content

Commit

Permalink
pkgupd: fix node.js parser
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Jan 12, 2024
1 parent 9e9ecd7 commit a250daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/OOCEapps/PkgUpd/NodeJS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sub getVersions {
($name, $ver) = $self->extractNameMajVer($name);

return [
map { m!/v($ver\.(?:\d+\.?)*)! } map { $_->{version} } $res->json
map { m!v($ver\.(?:\d+\.?)*)! } map { $_->{version} } @{$res->json}
];
}

Expand All @@ -35,7 +35,7 @@ __END__
=head1 COPYRIGHT
Copyright 2023 OmniOS Community Edition (OmniOSce) Association.
Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
=head1 LICENSE
Expand Down

0 comments on commit a250daa

Please sign in to comment.