Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
petergoldstein committed Apr 5, 2023
1 parent e8b4a32 commit 2f26a33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/wicked_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ def pdf_from_string(string, options = {})
string_file.close if string_file
end

# rubocop:disable Metrics/CyclomaticComplexity
def pdf_from_url(url, options = {})
def pdf_from_url(url, options = {}) # rubocop:disable Metrics/CyclomaticComplexity
# merge in global config options
options.merge!(WickedPdf.config) { |_key, option, _config| option }
generated_pdf_file = WickedPdf::Tempfile.new('wicked_pdf_generated_file.pdf', options[:temp_path])
Expand Down

0 comments on commit 2f26a33

Please sign in to comment.