Class: Integration::ErbLint

Inherits:
Base
  • Object
show all
Defined in:
lib/integrations/erb_lint.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #pronto_enabled?, #pronto_name, #run_with_config_handling_exit

Constructor Details

This class inherits a constructor from Integration::Base

Instance Method Details

#run_with(config) ⇒ Object



6
7
8
9
10
# File 'lib/integrations/erb_lint.rb', line 6

def run_with(config)
  args = ['--lint-all']
  Keepclean.logger.debug "Running with args: #{args}"
  ERBLint::CLI.new.run(args)
end