ohmjs / ohm

A library and language for building parsers, interpreters, compilers, etc.
MIT License
5.01k stars 217 forks source link

Fix package.json location (#456) #458

Closed andysturrock closed 1 year ago

andysturrock commented 1 year ago

From https://github.com/ohmjs/ohm/issues/456

Parse ohm's package.json file to obtain the version. cli.js was parsing the package.json in the current directory to obtain the package version. It now parses its own package.json file, not the one from the project that is using ohm.

pdubroy commented 1 year ago

Thank you for the fix!