heroku / buildpacks-nodejs

Heroku's Cloud Native Buildpacks for Node.js applications.
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Gracefully handle error when trying to read `package.json` in detect #733

Closed colincasey closed 11 months ago

colincasey commented 11 months ago

This change prevents the detection routine from raising an error during detect if:

Both error cases will be handled and report a failed detect.

Fixes #722