Skip to content

Commit

Permalink
Merge pull request #1677 from kmuto/revert-check-version
Browse files Browse the repository at this point in the history
Revert "fix to avoid useless Error"
  • Loading branch information
takahashim committed Feb 28, 2021
2 parents 32ccfa6 + e7999c3 commit 0ba00ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/review/pdfmaker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ def execute(*args)
I18n.setup(@config['language'])
@basedir = File.absolute_path(File.dirname(yamlfile))

unless @config.check_version(ReVIEW::VERSION, exception: false)
begin
@config.check_version(ReVIEW::VERSION)
rescue ReVIEW::ConfigError => e
warn e.message
end

Expand Down

0 comments on commit 0ba00ac

Please sign in to comment.