-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
allow array value for --ouput-library #559
Conversation
Hi @hoten, thanks for your PR! |
bin/convert-argv.js
Outdated
@@ -441,7 +441,10 @@ module.exports = function(...args) { | |||
|
|||
ifArg("output-library", function(value) { | |||
ensureObject(options, "output"); | |||
options.output.library = value; | |||
if (typeof options.output.library === "undefined") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can do if (!options.output.library)
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test for the thing @ematipico commented on?
@hoten Thanks for your update. I labeled the Pull Request so reviewers will review it again. @ev1stensberg Please review the new changes. |
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This reverts commit 6014ec8.
Hi @hoten , could you re-open in a new PR? Things like this needs a better review before merging. @dhruvdutt shouldn't really merge PR's that are unapproved by all members as he is a student for us during the summer.. |
My bad. Let's take a thorough relook. Can you please open a new PR @hoten? |
Opened a new PR. |
Fixes #557.