about summary refs log tree commit diff stats
path: root/src/sleep.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep.ts')
-rw-r--r--src/sleep.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sleep.ts b/src/sleep.ts
deleted file mode 100644
index 663d472..0000000
--- a/src/sleep.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-let sleepTimeout: Timer;
-
-export function keepAwake() {
-  if (sleepTimeout) clearTimeout(sleepTimeout);
-  sleepTimeout = setTimeout(function () {
-    process.exit(0);
-  }, 300_000);
-}