Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MostOriginalIGN committed Jan 2, 2023
1 parent 33d1a36 commit 7b28f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function compareVersions(latestVersion, currentVersion) {
}
}

if(currentParts[latestParts.length+1] = undefined){
if(currentParts[latestParts.length+1] == undefined){
console.log(`${currentVersion} is equal to ${latestVersion}`);
return (false);
}
Expand Down

0 comments on commit 7b28f9b

Please sign in to comment.