Skip to content
This repository was archived by the owner on Apr 4, 2020. It is now read-only.

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Pudding committed Sep 6, 2016
1 parent 0649191 commit 5f1026b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports = module.exports = currentVersion => {
$.update = Date.now() + 300000 // 5 minutes
return Promise.reject(data.version !== currentVersion ? data.version : false)
}).catch(updateAvailable => {
if(updateAvailable) $.update = {v: currentVersion, d: Date.now() + 21600000} // 6 hours}
if(updateAvailable) $.update = {v: currentVersion, d: Date.now() + 21600000} // 6 hours
$._()

if(creatingNewFile) {
Expand Down

0 comments on commit 5f1026b

Please sign in to comment.