teachablemachine-community icon indicating copy to clipboard operation
teachablemachine-community copied to clipboard

Update make-version.js

Open Tinny-Robot opened this issue 2 years ago • 0 comments

This change adds a check to see if the package.json file exists before reading and parsing it. If the file does not exist, an error is thrown indicating that the file could not be found. This helps to prevent unhandled exceptions and makes the error message more informative.

Tinny-Robot avatar Feb 09 '23 20:02 Tinny-Robot