lib/scss_lint/cli.rb in scss_lint-0.57.1 vs lib/scss_lint/cli.rb in scss_lint-0.58.0
- old
+ new
@@ -29,12 +29,12 @@
end
def run(args)
options = SCSSLint::Options.new.parse(args)
act_on_options(options)
- rescue StandardError => ex
- handle_runtime_exception(ex, options)
+ rescue StandardError => e
+ handle_runtime_exception(e, options)
end
private
attr_reader :log
@@ -203,12 +203,12 @@
def load_required_paths(options)
Array(options[:required_paths]).each do |path|
require path
end
- rescue LoadError => ex
+ rescue LoadError => e
raise SCSSLint::Exceptions::RequiredLibraryMissingError,
- "Required library not found: #{ex.message}"
+ "Required library not found: #{e.message}"
end
def load_reporters(options)
options[:reporters].map! do |reporter_name, output_file|
begin