Compare commits

...

2 Commits

Author SHA1 Message Date
62f8106fc6 1.0.28 2021-04-29 21:20:19 +00:00
e87b8c994b fix(core): update 2021-04-29 21:20:18 +00:00
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartnpm", "name": "@pushrocks/smartnpm",
"version": "1.0.27", "version": "1.0.28",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartnpm", "name": "@pushrocks/smartnpm",
"version": "1.0.27", "version": "1.0.28",
"private": false, "private": false,
"description": "interface with npm to retrieve package information", "description": "interface with npm to retrieve package information",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -116,7 +116,7 @@ export class NpmPackage {
targetVersion = new plugins.smartversion.SmartVersion(targetDistTag.targetVersion); targetVersion = new plugins.smartversion.SmartVersion(targetDistTag.targetVersion);
} }
} else { } else {
const smartversion = plugins.smartversion.SmartVersion.fromFuzzyString(optionsArg.version); targetVersion = plugins.smartversion.SmartVersion.fromFuzzyString(optionsArg.version);
} }
// lets find the best matching release // lets find the best matching release