running topcoat without any arguments/parameters errors out
Closed this issue · 3 comments
brianleroux commented
Should just return same output as -h
. Trace below.
#! topdoc
fs.js:654
return binding.readdir(pathModule._makeLong(path));
^
Error: ENOENT, no such file or directory 'src'
at Object.fs.readdirSync (fs.js:654:18)
at Topdoc.findCSSFiles (/usr/local/lib/node_modules/topdoc/lib/topdoc.js:94:17)
at new Topdoc (/usr/local/lib/node_modules/topdoc/lib/topdoc.js:46:25)
at Object.<anonymous> (/usr/local/lib/node_modules/topdoc/bin/topdoc:37:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
GarthDB commented
It should be clearer, but it defaults to look for a src
directory.
GarthDB commented
if src
doesn't exist it should give them a message.
GarthDB commented
Did it.