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

Ensure that certain CLI options are always parsed as arrays #155

Merged
merged 5 commits into from
Nov 26, 2018

Conversation

fcastilloec
Copy link
Collaborator

Fixes #154

Copy link
Member

@malept malept left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You beat me to it 😄

In general, I'm not really a fan of having an integration test for this particular bugfix, because it doesn't really test the bug described in #154.

test/cli.js Outdated Show resolved Hide resolved
@fcastilloec
Copy link
Collaborator Author

I was also wondering if a test is needed. If you also have reservations, maybe we should just not add one. Thoughts @malept ?

malept and others added 2 commits November 22, 2018 11:12
Co-Authored-By: fcastilloec <1280530+fcastilloec@users.noreply.github.com>
@malept
Copy link
Member

malept commented Nov 23, 2018

It might not be worth it, mostly because it's testing the yargs implementation. On the other hand, I like regression tests, so I'm a little conflicted.

@fcastilloec
Copy link
Collaborator Author

I've decided to remove it. As you mentioned, this is not testing our code, but rather yargs implementation.

@malept malept changed the title Yargs arrays Ensure that certain CLI options are always parsed as arrays Nov 26, 2018
@malept malept merged commit 7de5372 into master Nov 26, 2018
@malept malept deleted the yargs-arrays branch November 26, 2018 16:42
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

Successfully merging this pull request may close these issues.

2 participants