You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lib/simplecov.rb:60: warning: instance variable @track_files_glob not initialized #446
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.
Activity
xaviershay commentedon Jan 20, 2016
I like initializing to
nil. PR would be fantastic!Silence `@track_files_glob` ivar warning
Silence `@track_files_glob` ivar warning
Silence `@track_files_glob` ivar warning
Silence `@track_files_glob` ivar warning