neocotic / convert-svg

Node.js packages for converting SVG into other formats using headless Chromium
MIT License
198 stars 45 forks source link

Error being thrown caused by lost context for CLI #24

Closed leblanc-simon closed 6 years ago

leblanc-simon commented 6 years ago

With the new version converter require a provider. In CLI, this provider is not set in the constructor.

This fix set the provider when you use the CLI

neocotic commented 6 years ago

Thanks for your contribution! I'll merge this and hope to get it released soon.

neocotic commented 6 years ago

Thanks again for your contribution @leblanc-simon. I've just released v0.3.2 which includes this fix. Install it and let me know how you get on :smile:

leblanc-simon commented 6 years ago

@neocotic it's perfect ! Thanks for your work