PolymerLabs / tedium

A bot for doing mass changes to github repos for the Polymer team
19 stars 14 forks source link

Travis pass crashes when `sauce-credentials.json` does not exist #69

Open TimvdLippe opened 6 years ago

TimvdLippe commented 6 years ago

It would be nicer to have a descriptive error message for this. At first, I was searching for this file in the repository I was modifying, but instead it was supposed to be in the folder that I run the command. I think adding a simple if (!fs.existSync) with a nice error should be sufficient.