zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

print_results_and_summary.ex (466B)


      1 defmodule Credo.CLI.Command.Diff.Task.PrintResultsAndSummary do
      2   @moduledoc false
      3 
      4   use Credo.Execution.Task
      5 
      6   alias Credo.CLI.Command.Diff.DiffOutput
      7 
      8   def call(exec, _opts) do
      9     source_files = Execution.get_source_files(exec)
     10 
     11     time_load = Execution.get_assign(exec, "credo.time.source_files")
     12     time_run = Execution.get_assign(exec, "credo.time.run_checks")
     13 
     14     DiffOutput.print_after_info(source_files, exec, time_load, time_run)
     15 
     16     exec
     17   end
     18 end