From e87b8c994b382c1f28eee31c003b813ce6cc99d3 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Thu, 29 Apr 2021 21:20:18 +0000 Subject: [PATCH] fix(core): update --- ts/smartnpm.classes.npmpackage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smartnpm.classes.npmpackage.ts b/ts/smartnpm.classes.npmpackage.ts index 6541fae..886e25e 100644 --- a/ts/smartnpm.classes.npmpackage.ts +++ b/ts/smartnpm.classes.npmpackage.ts @@ -116,7 +116,7 @@ export class NpmPackage { targetVersion = new plugins.smartversion.SmartVersion(targetDistTag.targetVersion); } } else { - const smartversion = plugins.smartversion.SmartVersion.fromFuzzyString(optionsArg.version); + targetVersion = plugins.smartversion.SmartVersion.fromFuzzyString(optionsArg.version); } // lets find the best matching release