Skip to content

Commit

Permalink
Placate Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
creideiki committed Mar 11, 2023
1 parent 391f4ad commit 359a317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/fimfic2pdf/anthology.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion lib/fimfic2pdf/novel/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 359a317

Please sign in to comment.