We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d986c1 commit c1ea100Copy full SHA for c1ea100
1 file changed
src/node/install.ts
@@ -106,7 +106,7 @@ export function getVersionFromBinary(binPath: string): string | null {
106
encoding: 'utf-8',
107
});
108
109
- const versionMatch = versionOutput.match(/(\d+\.\d+\.\d+)/);
+ const versionMatch = versionOutput.match(/(\d+\.\d+\.\d+(-rc\d+)?)/);
110
if (versionMatch) {
111
return versionMatch[0];
112
}
0 commit comments