Commit 7e519af
authored
From #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.
Co-authored-by: Andy Sturrock <[email protected]>
1 parent 1050ad0 commit 7e519af
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments