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

Do not overwrite falsey value with defaults #16

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

aeroastro
Copy link
Collaborator

Shinq::Configuration did not handle default value properly.

When the passed option is falsey value (e.g. nil and false), default value is used instead of intentionally specified value.

For example, --no-abort-on-error option has been ignored since its implementation.

This patch will fix the bug.

@aeroastro aeroastro force-pushed the feature/fix-default-value branch from fd94b30 to 612d26c Compare September 7, 2017 09:50
@ryopeko
Copy link
Owner

ryopeko commented Sep 21, 2017

👍

@ryopeko ryopeko merged commit 5b87d26 into ryopeko:master Sep 21, 2017
@aeroastro aeroastro deleted the feature/fix-default-value branch September 22, 2017 08:07
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