Merge pull request #27 from sumnerboy12/patch-1

fix typo on skipping/scheduled log message
pull/30/head
Nicco 4 years ago committed by GitHub
commit b5bc1a4cee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 + ' 🎉')
}
}

Loading…
Cancel
Save