From cba8e1c650a294fa4b4c1b8fb6b5399872da2b51 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Tue, 1 May 2018 09:46:53 -0700 Subject: [PATCH] fix: convert interval to ms --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e2df680..9ee2eb9 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ function initUpdater (opts) { // check for updates right away and keep checking later autoUpdater.checkForUpdates() - setInterval(() => { autoUpdater.checkForUpdates() }, updateInterval) + setInterval(() => { autoUpdater.checkForUpdates() }, ms(updateInterval)) } function validateInput (opts) {