Method: Packwerk::Formatters::ProgressFormatter#started_inspection

Defined in:
lib/packwerk/formatters/progress_formatter.rb

#started_inspection(target_files, &block) ⇒ Object



26
27
28
29
30
31
# File 'lib/packwerk/formatters/progress_formatter.rb', line 26

def started_inspection(target_files, &block)
  start_inspection(target_files)

  execution_time = Benchmark.realtime(&block)
  finished(execution_time)
end