Method: CC::Analyzer::Formatters::HTMLFormatter::Issue#source

Defined in:
lib/cc/analyzer/formatters/html_formatter.rb

#sourceObject



272
273
274
275
276
277
# File 'lib/cc/analyzer/formatters/html_formatter.rb', line 272

def source
  @source ||= SourceFile.new(
    data.fetch("location", {}).fetch("path", ""),
    filesystem,
  )
end