Szpadel/chrome-headless-render-pdf

--chromeBinary vs. --chrome-binary

mhienle opened this issue · 1 comments

In

throw Error('Couldn\'t detect chrome version installed! use --chrome-binary to pass custom location');
the user is asked to provide the option --chrome-binary. However, that still fails for me. Only by checking the source code I was able to correctly use the CLI, namely by passing the option --chromeBinary.

I'd expect either the message to be correct or the function detectChrome to be able to handle both --chromeBinary and --chrome-binary.

I believe this is already resolved