Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 71c4189

Browse files
zenspidermaxjacobson
authored andcommitted
Call analyze directly, avoiding reporting into a StringIO.
This also avoids relying on an report returning the data variable. It might not in the future. Completely untested. (rspec? *sigh*)
1 parent e2535bc commit 71c4189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/cc/engine/analyzers/reporter.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def process_files
4747
end
4848

4949
def report
50-
flay.report(StringIO.new).each do |issue|
50+
flay.analyze.each do |issue|
5151
violations = new_violations(issue)
5252

5353
violations.each do |violation|

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /