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

Update 'lambda test' tail option default value #53

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Update 'lambda test' tail option default value #53

merged 1 commit into from
Oct 17, 2019

Conversation

clifff
Copy link
Contributor

@clifff clifff commented Oct 17, 2019

Calling test through Thor's invoke method has unexpected behavior when passing a :tail option.

Before this change, regardless of what options are passed to invoke, options[:tail] comes out as false. With this change, there is no key for :tail in options if nothing is passed in the options hash, and if :tail is passed, it comes through as expected.

@rlister
Copy link
Owner

rlister commented Oct 17, 2019

I have no idea why this is the case, but thanks for figuring it out!

@rlister rlister merged commit 29f51b3 into rlister:master Oct 17, 2019
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.

None yet

2 participants