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

Incorrect value being parsed #39

Closed
75lb opened this issue Jan 31, 2017 · 1 comment
Closed

Incorrect value being parsed #39

75lb opened this issue Jan 31, 2017 · 1 comment

Comments

@75lb
Copy link
Owner

75lb commented Jan 31, 2017

For options with multiple: false and defaultOption: true, the first value parsed should be taken - not the last.

Say you have this option definition:

{ name: 'file', defaultOption:true }

And you run your example app this way:

$ example one.js two.js three.js

Then, in the output file should be set to 'one.js', not 'three.js' (as it is currently).

@75lb
Copy link
Owner Author

75lb commented Jan 31, 2017

fixed and released in v4.0.0.

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

1 participant