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.
1 parent 79e89ad commit 5f06620Copy full SHA for 5f06620
check.js
@@ -7,6 +7,9 @@ const options = JSON.parse(process.argv[2]);
7
updateNotifier = new updateNotifier.UpdateNotifier(options);
8
9
(async () => {
10
+ // Exit process when offline
11
+ setTimeout(process.exit, 1000 * 30);
12
+
13
const update = await updateNotifier.checkNpm();
14
15
// Only update the last update check time on success
0 commit comments