Skip to content

Commit

Permalink
rewrite rails method
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyrop committed Nov 9, 2023
1 parent 5e1e06d commit 21a4935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aperitiiif/batch/records.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def records_from_file(file = config.records_file, defaults = config.records_defa
end

def records_file_configured?(file = config.records_file)
return true if file.present?
return true unless file.to_s.empty?

warn 'WARNING:: No records file configured'.colorize(:yellow)
false
Expand Down

0 comments on commit 21a4935

Please sign in to comment.