We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
updateInterval
TimeoutOverflowWarning
1 parent c01d90d commit eaea2baCopy full SHA for eaea2ba
src/index.ts
@@ -345,6 +345,7 @@ function validateInput(opts: IUpdateElectronAppOptions) {
345
);
346
347
assert(ms(updateInterval) >= 5 * 60 * 1000, 'updateInterval must be `5 minutes` or more');
348
+ assert(ms(updateInterval) < 2 ** 31, 'updateInterval must fit in a signed 32-bit integer');
349
350
assert(logger && typeof logger.log, 'function');
351
0 commit comments