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

simplify setKey logic for yargs-parser 75 #1

Merged
merged 1 commit into from Dec 3, 2016

Conversation

nexdrew
Copy link

@nexdrew nexdrew commented Dec 2, 2016

Also removed arrow function to maintain compatibility with Node 0.10 (we're aiming to drop Node 0.10 support in early 2017).

Dropping the unnecessary throw new Error('this should not happen') statements also gets this back to 100% test coverage.

If you don't see any problems with this, let's "Rebase and merge" this into your branch, and then we should be able to "Squash and merge" yargs#75.

Thanks for the new tests and working through this messy logic!

make compatible with Node 0.10

get back to 100% test coverage
@laggingreflex laggingreflex merged commit 5c010b6 into laggingreflex:t74 Dec 3, 2016
@nexdrew nexdrew deleted the nexdrew/pr/75 branch December 29, 2016 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants