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

Make track_files work when configured with nil #463

Closed

Commits on Feb 13, 2016

  1. Make track_files work when configured with nil

    Fixes simplecov-ruby#462.
    
    The implementation of `track_files` was refactored recently to suppress
    a warning in the underlying instance variable had not been initialized.
    This had the effect of changing the behavior when trying to nullify the
    default configuration of tracked files in some cases through the use of
    nil.
    
    With this change, a declaration of `track_files nil` will once again
    clear out any previous configuration and essentially disable the
    feature.
    
    Reference:
      * simplecov-ruby#447
      * simplecov-ruby#462
    craiglittle committed Feb 13, 2016
    Configuration menu
    Copy the full SHA
    67a26d4 View commit details
    Browse the repository at this point in the history