nizarmah / auto-minify

Minifies JS and CSS files in GitHub workflows.
GNU General Public License v3.0
48 stars 18 forks source link

Fixes issue when using file names ending with "min" from being skipped #16

Closed alexmigf closed 3 years ago

alexmigf commented 3 years ago

In the current version, if we use a file named admin.css or admin.js it will be skipped for the minification because the admin name ends with min. This PR addresses a fix for this situation allowing filenames ending with min to be included as well.