Class: Herb::Embedded::Formatters::Github
- Inherits:
-
Object
- Object
- Herb::Embedded::Formatters::Github
- Defined in:
- lib/herb/embedded/formatters/github.rb
Overview
One GitHub Actions annotation line per offense: ::error file=...,line=...,col=...::message
Instance Method Summary collapse
Instance Method Details
#render(report) ⇒ Object
9 10 11 |
# File 'lib/herb/embedded/formatters/github.rb', line 9 def render(report) report.diagnostics.map { |diagnostic| annotation(diagnostic) }.join("\n") end |