fix(core): update

This commit is contained in:
2020-06-25 20:10:43 +00:00
parent 297e65ebe5
commit 16fd8be8be
9 changed files with 135 additions and 73 deletions

View File

@ -1 +1 @@
export { SmartUpdate } from './smartupdate.classes.smartupdate';
export { SmartUpdate } from './smartupdate.classes.smartupdate';

View File

@ -54,7 +54,7 @@ export class SmartUpdate {
newCacheData.latestVersion = npmPackage.version;
this.kvStore.writeKey(npmnameArg, newCacheData);
}
return upgradeBool;
}
@ -93,9 +93,7 @@ export class SmartUpdate {
);
return false;
} else {
console.log(
`warn: There is a newer version of ${npmPackage.name} available on npm.`
);
console.log(`warn: There is a newer version of ${npmPackage.name} available on npm.`);
console.log(
`warn: Your version: ${versionLocal.versionString} | version on npm: ${versionNpm.versionString}`
);