lib/scss_lint/options.rb in scss_lint-0.57.1 vs lib/scss_lint/options.rb in scss_lint-0.58.0
- old
+ new
@@ -25,13 +25,13 @@
# Any remaining arguments are assumed to be files
@options[:files] = args
@options
- rescue OptionParser::InvalidOption => ex
+ rescue OptionParser::InvalidOption => e
raise SCSSLint::Exceptions::InvalidCLIOption,
- ex.message,
- ex.backtrace
+ e.message,
+ e.backtrace
end
private
def add_display_options(parser)