moon
moon copied to clipboard
improve error message for empty `moon.pkg.json`
$ moon test
error: Failed to load "/xxx/src/lib/a/moon.pkg.json"
Caused by:
0: Failed to parse "/xxx/src/lib/a/moon.pkg.json"
1: EOF while parsing a value at line 1 column 0
add a special error for empty JSON file