Skip to content

Commit

Permalink
Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Rindle committed Jun 14, 2019
1 parent e577096 commit 5714056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ const rest = (options, callback) => {
}
// Compare versions
let found = false;
let version = null;
for (i = 0, len = json.length; i < len; i++) {
let version = json[i];
version = json[i];
if (semver.gt(version.tag_name, options.currentVersion)) {
found = true;
break;
Expand Down

0 comments on commit 5714056

Please sign in to comment.