diff --git a/lib/fimfic2pdf/anthology.rb b/lib/fimfic2pdf/anthology.rb index 587e1b7..b958bff 100644 --- a/lib/fimfic2pdf/anthology.rb +++ b/lib/fimfic2pdf/anthology.rb @@ -11,7 +11,7 @@ module FiMFic2PDF class Anthology attr_accessor :conf - def initialize(options, mod) + def initialize(options, mod) # rubocop:disable Metrics/AbcSize @mod = mod @options = options @logger = Logger.new($stderr, progname: 'Anthology') diff --git a/lib/fimfic2pdf/novel/driver.rb b/lib/fimfic2pdf/novel/driver.rb index b2d2b42..6a8c65f 100644 --- a/lib/fimfic2pdf/novel/driver.rb +++ b/lib/fimfic2pdf/novel/driver.rb @@ -135,7 +135,7 @@ def initialize(progname, mod) # rubocop:disable Metrics/MethodLength def check_arguments super - if @options.ids.size > 1 and not @options.anthology_title + if @options.ids.size > 1 and not @options.anthology_title # rubocop:disable Style/GuardClause puts 'No anthology title specified.' puts '' abort @parser.to_s