lib/slim_lint/options.rb in slim_lint-0.16.1 vs lib/slim_lint/options.rb in slim_lint-0.17.0
- old
+ new
@@ -22,13 +22,13 @@
# Any remaining arguments are assumed to be files
@options[:files] = args
@options
- rescue OptionParser::InvalidOption => ex
+ rescue OptionParser::InvalidOption => e
raise Exceptions::InvalidCLIOption,
- ex.message,
- ex.backtrace
+ e.message,
+ e.backtrace
end
private
# Register linter-related flags.