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
I'm not sure what changed in guard that's causing @tracker to be null during run_all, but adding @tracker ||= ::Brakeman::Scanner.new(@scanner_opts).process above line 58 seems to have fixed it for me, but probably isn't the right thing to do :P
The text was updated successfully, but these errors were encountered:
I think the only downside to that is that it would have to reprocess the entire app each time run_all is run. Not ideal for an app that takes 6 minutes to process. I have no idea why that instance var would disappear. I'll see what's different in guard. Did you do a 1.8.2 -> 1.8.3 upgrade or are there more version to check?
Sidenote: I have no idea why return run_all unless @tracker.checks is in run_on_changes
Started getting this error since upgrading to guard 1.8.3, gist with backtrace here:
https://gist.github.com/jaredmoody/6984854
I'm not sure what changed in guard that's causing
@tracker
to be null during run_all, but adding@tracker ||= ::Brakeman::Scanner.new(@scanner_opts).process
above line 58 seems to have fixed it for me, but probably isn't the right thing to do :PThe text was updated successfully, but these errors were encountered: