Skip to content

Commit 1a10311

Browse files
committed
Fix version checks, use real current version
1 parent 34ea943 commit 1a10311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/checkUpdate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const pkgPath = '/snapshot/exoframe-cli/src/util';
88

99
// check function
1010
module.exports = async pkg => {
11-
const current = '5.0.0'; // pkg.version;
11+
const current = pkg.version;
1212
// Checks for available update and returns an instance
1313
const latest = await latestVersion('exoframe').then(r => r.trim());
1414
// show message if update is available

0 commit comments

Comments
 (0)