diff --git a/background/update.js b/background/update.js index 918b46f4..34b238c6 100644 --- a/background/update.js +++ b/background/update.js @@ -107,7 +107,7 @@ global API_METHODS retrying.add(id); return new Promise(resolve => { setTimeout(() => { - resolve(checkStyle(id, style, port, save, ignoreDigest)); + resolve(checkStyle({id, style, port, save, ignoreDigest})); }, 1000); }); }