1000ch / atom-svgo

Minify SVG with SVGO 🐯
https://atom.io/packages/svgo
MIT License
14 stars 5 forks source link

Not work minify and pretty. SVGO 2.8 Atom 1.15 #10

Closed Toxblh closed 7 years ago

Toxblh commented 7 years ago

I do minify svg and have error. This is simply svg, and when I do minify in terminal with svgo - all good.

screen shot 2017-03-14 at 15 16 08
RossBarnie commented 7 years ago

Offending line is https://github.com/1000ch/atom-svgo/blob/master/index.js#L43. When you don't specify a "disable" option in your settings the command line argument that is constructed is invalid (ie --disable=<empty string>).

We're commenting out that line as a workaround.

1000ch commented 7 years ago

@Toxblh @RossBarnie Please update to v2.8.1 🙏

Toxblh commented 7 years ago

Great! All work :)