Closed vyshkant closed 6 years ago
Previous behavior was not very clear: the only error message was "package.json not found in path" and I did not have any idea what does it mean.
"package.json not found in path"
The behavior proposed in this PR assumes catching the error of the find-root module and throwing a more meaningful error.
find-root
Sweet, that looks good! Thanks! :bow:
This is published in 1.2.5 now. Thanks again!
Previous behavior was not very clear: the only error message was
"package.json not found in path"
and I did not have any idea what does it mean.The behavior proposed in this PR assumes catching the error of the
find-root
module and throwing a more meaningful error.