rbtech / css-purge

A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.
http://rbtech.github.io/css-purge
MIT License
125 stars 19 forks source link

Can we stop using proccess.exit(1)? #62

Open anhnt-mageplaza opened 2 years ago

anhnt-mageplaza commented 2 years ago

This way to exit code causes a lot of trouble when you just want to try/catch the exception. It caused the whole program to just stop when running on nodejs app.