mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-24 05:58:08 +00:00
Handle pretty-quick issue (#3169)
- Replace pretty-quick by lint-staged (to fix: <https://github.com/azz/pretty-quick/issues/164>) - Update prettier dependencies - Handle prettier issues
This commit is contained in:
committed by
GitHub
parent
59e9d765e2
commit
7dcea98e99
@@ -65,9 +65,12 @@ module.exports = NodeHelper.create({
|
||||
scheduleNextFetch(delay) {
|
||||
clearTimeout(this.updateTimer);
|
||||
|
||||
this.updateTimer = setTimeout(() => {
|
||||
this.performFetch();
|
||||
}, Math.max(delay, ONE_MINUTE));
|
||||
this.updateTimer = setTimeout(
|
||||
() => {
|
||||
this.performFetch();
|
||||
},
|
||||
Math.max(delay, ONE_MINUTE)
|
||||
);
|
||||
},
|
||||
|
||||
ignoreUpdateChecking(moduleName) {
|
||||
|
Reference in New Issue
Block a user