From bfb7183d7b6240948927e15a6a9a91ffbae58e22 Mon Sep 17 00:00:00 2001 From: CeciliaKelley33Mm Date: Sat, 12 Oct 2024 09:55:05 +0700 Subject: [PATCH] debug for the funnies lol --- checkTime.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/checkTime.js b/checkTime.js index ce0cd99..30a6b1f 100644 --- a/checkTime.js +++ b/checkTime.js @@ -1,3 +1,4 @@ +const { match } = require('assert') const process = require('process') if (process.argv.length < 3) { @@ -31,5 +32,8 @@ if (currentTime.getTime() === targetTime.getTime()) { console.log('[checkTime] time matches, now exiting with status 0 to make another runtime') process.exit(0) } else { + console.log('[checkTime] time doesn\'t match') + console.log(`currentTime is ${currentTime}`) + console.log(`targetTiem is ${targetTime}`) process.exit(1) }