Closed
Description
To repeat the problem
echo "hello" > test.md
cat test.md
marked test.md -o test.html
cat test.html
marked test.md -o nonexistent_dir/test.html
results in an error which makes you doubt the quality of marked
/usr/local/share/npm/lib/node_modules/marked/bin/marked:182
if (err) throw err;
^
Error: ENOENT, open 'nonexistent_dir/test.html'
compare it to mv test.md nonexistent_dir/test.md
which results in:
mv: rename test.md to nonexistent_dir/test.md: No such file or directory