mirror of
https://github.com/Frail7487Real/laughing-spork.git
synced 2024-11-14 10:44:58 -05:00
debug for the funnies lol
This commit is contained in:
parent
d973a76822
commit
bfb7183d7b
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue