Skip to content

Commit

Permalink
fix(node): rc in getVersionFromBinary (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu authored Dec 4, 2024
1 parent 9d986c1 commit c1ea100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function getVersionFromBinary(binPath: string): string | null {
encoding: 'utf-8',
});

const versionMatch = versionOutput.match(/(\d+\.\d+\.\d+)/);
const versionMatch = versionOutput.match(/(\d+\.\d+\.\d+(-rc\d+)?)/);
if (versionMatch) {
return versionMatch[0];
}
Expand Down

0 comments on commit c1ea100

Please sign in to comment.