Skip to content

Commit

Permalink
Merge pull request #1055 from petergoldstein/feature/get_build_green_…
Browse files Browse the repository at this point in the history
…2023_04_05

Fix lint introduced with a recent PR
  • Loading branch information
unixmonkey authored Apr 6, 2023
2 parents e8b4a32 + 2f26a33 commit b116c43
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 b116c43

Please sign in to comment.