bin/review-check in review-3.1.0 vs bin/review-check in review-3.2.0
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
#
-# Copyright (c) 2010-2017 Kenshi Muto, Minero Aoki
+# Copyright (c) 2010-2019 Kenshi Muto, Minero Aoki
# 1999-2007 Minero Aoki
#
# This program is free software.
# You can distribute or modify this program under the terms of
# the GNU LGPL, Lesser General Public License version 2.1.
@@ -56,11 +56,11 @@
puts opts.help
exit 0
end
begin
opts.parse!
- rescue OptionParser::ParseError => err
- @logger.error(err.message)
+ rescue OptionParser::ParseError => e
+ @logger.error(e.message)
puts opts.help
exit 1
end
unless files
@logger.error('no input')