Class: Hone::Formatters::GitHub
- Defined in:
- lib/hone/formatters/github.rb
Constant Summary collapse
- PRIORITY_TO_LEVEL =
{ hot_cpu: "error", hot_alloc: "error", jit_unfriendly: "warning", warm: "notice", cold: "notice", unknown: "notice" }.freeze
Constants included from Filterable
Instance Method Summary collapse
Methods inherited from Base
Methods included from Filterable
Constructor Details
This class inherits a constructor from Hone::Formatters::Base
Instance Method Details
#format ⇒ Object
15 16 17 |
# File 'lib/hone/formatters/github.rb', line 15 def format filtered_findings.map { |finding| format_annotation(finding) }.join("\n") end |