Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildProduction doesn't complain about no input files #13

Closed
msiebuhr opened this issue Jul 12, 2012 · 0 comments
Closed

buildProduction doesn't complain about no input files #13

msiebuhr opened this issue Jul 12, 2012 · 0 comments

Comments

@msiebuhr
Copy link

In the help text to buildProduction (eg. run without parameters), htmlFile(s) are considered mandatory:

node ./node_modules/.bin/buildProduction --root <inputRootDirectory> --outroot <dir> [options] <htmlFile(s)>

But the program doesn't complain when no files are given. It just work through an empty graph.

I believe adding a .demand(1) in the optimist-chain will suffice.

@Munter Munter closed this as completed in 3d08367 Jul 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants