Skip to content

Commit

Permalink
Correct raw_details
Browse files Browse the repository at this point in the history
  • Loading branch information
veelenga committed May 5, 2022
1 parent 6f81fd2 commit 255129c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ameba-github_action/formatter.cr
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module Ameba::GithubAction

private def raw_details(source, location)
Colorize.enabled = false
location ? affected_code(source, location) : nil
location ? affected_code(source.code, location) : nil
ensure
Colorize.enabled = true
end
Expand Down

0 comments on commit 255129c

Please sign in to comment.