wkhtmltopdf_binary_gem icon indicating copy to clipboard operation
wkhtmltopdf_binary_gem copied to clipboard

Checks if the extracted binary size is 0 and extracts if so

Open danborden1 opened this issue 3 years ago • 0 comments

We ran into an issue recently wherein the binary extraction failed silently and resulted in a file with 0 bytes. Because the check on bin/wkhtmltopdf:60 does not check for filesize, only that the file doesn't exist, the proper binary was never extracted. This Pull Request adds an additional check so that it will perform the extract if the file exists but the size is 0

danborden1 avatar Apr 27 '22 21:04 danborden1