lib/slim_lint/cli.rb in slim_lint-0.16.1 vs lib/slim_lint/cli.rb in slim_lint-0.17.0
- old
+ new
@@ -21,11 +21,11 @@
# @param args [Array<String>] command line arguments
# @return [Integer] exit status code
def run(args)
options = SlimLint::Options.new.parse(args)
act_on_options(options)
- rescue StandardError => ex
- handle_exception(ex)
+ rescue StandardError => e
+ handle_exception(e)
end
private
attr_reader :log