zurb / inky-cli

Command-line interface for the Inky templating language.
MIT License
13 stars 2 forks source link

Output parameter is a directory, not a file name #3

Open btubbs opened 8 years ago

btubbs commented 8 years ago

If I try passing a filename as the output parameter, as indicated in the docs, I get an error:

(voltron)vagrant voltron $ inky voltron/templates/src/child.html tmp/test.html events.js:141 throw er; // Unhandled 'error' event ^

Error: ENOTDIR: not a directory, open 'tmp/test.html/child.html' at Error (native)

On the other hand if I pass it a directory, then it creates a 'child.html' file inside that directory.