-
Notifications
You must be signed in to change notification settings - Fork 553
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
lib/simplecov.rb:60: warning: instance variable @track_files_glob not initialized #446
Comments
I like initializing to |
craiglittle
added a commit
to craiglittle/simplecov
that referenced
this issue
Jan 20, 2016
craiglittle
added a commit
to craiglittle/simplecov
that referenced
this issue
Jan 20, 2016
craiglittle
added a commit
to craiglittle/simplecov
that referenced
this issue
Jan 20, 2016
Closed
craiglittle
added a commit
to craiglittle/simplecov
that referenced
this issue
Feb 13, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
It seems Simplecov module expect some instance variables to be set up by SimpleCov::Configuration. Of course the default value nil works, however, we get warnings from Ruby VM. I believe this could be solved by improving SimpleCov::Configuration to either preset unset variables to nil, or, check them with Object#instance_variable_defined? before using.
If you think any of these is a good solution (or even suggest a better one), I can make the patch an pull request.
Sincerely,
The text was updated successfully, but these errors were encountered: