radiovisual / timecard

Keep track of your project development time.
MIT License
20 stars 4 forks source link

friendly warning when user tries clocking in/out before creating a timecard #1

Closed radiovisual closed 8 years ago

radiovisual commented 9 years ago

Currently, you only see this message if you attempt clocking in or out before creating a timecard:

ENOENT, open '/usr/local/lib/node_modules/timecard/.timecard.json'

It would be much better if there was a nice warning letting you know that a timecard has not been created for this project.