@offckb/cli 0.3.0-canary-9d986c1.0 → 0.3.0-canary-c1ea100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/install.js +1 -1
- package/package.json +1 -1
package/dist/node/install.js
CHANGED
|
@@ -144,7 +144,7 @@ function getVersionFromBinary(binPath) {
|
|
|
144
144
|
const versionOutput = (0, child_process_1.execSync)(`${(0, encoding_1.encodeBinPathForTerminal)(binPath)} --version`, {
|
|
145
145
|
encoding: 'utf-8',
|
|
146
146
|
});
|
|
147
|
-
const versionMatch = versionOutput.match(/(\d+\.\d+\.\d+)/);
|
|
147
|
+
const versionMatch = versionOutput.match(/(\d+\.\d+\.\d+(-rc\d+)?)/);
|
|
148
148
|
if (versionMatch) {
|
|
149
149
|
return versionMatch[0];
|
|
150
150
|
}
|