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

Fix typo. Make boolean returning methods idiomatic. #15

Merged
merged 1 commit into from
May 1, 2015
Merged

Fix typo. Make boolean returning methods idiomatic. #15

merged 1 commit into from
May 1, 2015

Conversation

ranjib
Copy link
Contributor

@ranjib ranjib commented Jan 16, 2015

And dont wrap @opts in private method

@@ -11,7 +11,7 @@ def execute!

files_to_check = @argv

Trollop::die 'nead at least one JSON file to check' if files_to_check.empty?
Trollop::die 'need at least one JSON file to check' if files_to_check.empty?
Copy link
Contributor

Choose a reason for hiding this comment

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

This probably should be changed from Trollop::die to Trollop.die while you are at it :)

dougbarth added a commit that referenced this pull request May 1, 2015
Fix typo. Make boolean returning methods idiomatic.
@dougbarth dougbarth merged commit 56b2a16 into dougbarth:master May 1, 2015
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

3 participants