CSV to JSON converter: handle missing file
CSV to JSON converter: handle missing file: a task in smol-software-harbor (Harbor dataset). When the input file does not exist, csv2json.js dies with a long Node stack trace. It should print exactly csv2json: <file : no such file on stderr and exit with status 1; other errors are not affected…
The task
When the input file does not exist, `csv2json.js` dies with a long Node stack trace. It should print exactly `csv2json: <file>: no such file` on stderr and exit with status 1; other errors are not affected. Fix it and run `node --test test/*.test.js`.
Part of efederici/smol-software-harbor.