Skip to content

Commit

Permalink
wkhtmltopdf is not necessarily a file
Browse files Browse the repository at this point in the history
  • Loading branch information
ylecuyer authored May 24, 2017
1 parent c152d54 commit d1fc39c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/wicked_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class WickedPdf
def initialize(wkhtmltopdf_binary_path = nil)
@exe_path = wkhtmltopdf_binary_path || find_wkhtmltopdf_binary_path
raise "Location of #{EXE_NAME} unknown" if @exe_path.empty?
raise "Bad #{EXE_NAME}'s path: #{@exe_path}" unless File.exist?(@exe_path)
raise "#{EXE_NAME} is not executable" unless File.executable?(@exe_path)

retrieve_binary_version
Expand Down

0 comments on commit d1fc39c

Please sign in to comment.