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.
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.