fix typo on skipping/scheduled log message

This commit is contained in:
Ben Jones 2020-07-24 11:53:27 +12:00 committed by GitHub
parent 7fb0fbd467
commit e61c940d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ const runCronForLocation = (name: string, location: Location) => {
lock.crons[name] = { lastRun: Date.now() }
writeLock(lock)
} else {
console.log(`${name.yellow} ▶ Skipping. Sheduled for: ${parsed.next().toString().underline.blue}`)
console.log(`${name.yellow} ▶ Skipping. Scheduled for: ${parsed.next().toString().underline.blue}`)
}
}
@ -30,4 +30,4 @@ export const runCron = () => {
runCronForLocation(name, location)
console.log('\nFinished!'.underline + ' 🎉')
}
}