mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
update dist
This commit is contained in:
parent
3d848cb9e7
commit
d5ac70675a
1 changed files with 1 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -5420,7 +5420,7 @@ exports.NpmModuleVersion = void 0;
|
||||||
var NpmModuleVersion;
|
var NpmModuleVersion;
|
||||||
(function (NpmModuleVersion) {
|
(function (NpmModuleVersion) {
|
||||||
function parse(versionStr) {
|
function parse(versionStr) {
|
||||||
const match = versionStr.match(/^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-rc.([0-9]+))?/);
|
const match = versionStr.match(/^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-rc.([0-9]+))?$/);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
throw new Error(`${versionStr} is not a valid NPM version`);
|
throw new Error(`${versionStr} is not a valid NPM version`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue