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

Suppress Ruby interpreter warnings #381

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

koic
Copy link
Contributor

@koic koic commented Aug 29, 2018

This PR suppresses the following Ruby interpreter warnings.

% ruby -v
ruby 2.6.0dev (2018-08-28 trunk 64584) [x86_64-darwin17]
% RUBYOPT='-w' rake
/Users/koic/src/github.com/mojombo/chronic/lib/chronic/tags/scalar.rb:32: warning: mismatched indentat
ions at 'end' with 'unless' at 25
Run options: --seed 2694

# Running:

................................................/Users/koic/src/github.com/mojombo/chronic/lib/chronic/repeaters/repeater_quarter.rb:22: warning: instance variable @current_span not initialized
/Users/koic/src/github.com/mojombo/chronic/lib/chronic/repeaters/repeater_quarter.rb:22: warning: instance variable @current_span not initialized
/Users/koic/src/github.com/mojombo/chronic/lib/chronic/repeaters/repeater_quarter.rb:22: warning: instance variable @current_span not initialized
/Users/koic/src/github.com/mojombo/chronic/lib/chronic/repeaters/repeater_quarter.rb:22: warning: instance variable @current_span not initialized
/Users/koic/src/github.com/mojombo/chronic/lib/chronic/repeaters/repeater_quarter_name.rb:11: warning: instance variable @current_span not initialized

(snip)

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.

1 participant