1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 20:00:05 +02:00

fix arguments parsing

This commit is contained in:
s2
2020-02-07 23:20:53 +01:00
parent 4cf254c12f
commit c116fbffbd

View File

@@ -20,7 +20,7 @@ if (argv.h) {
process.exit(0);
}
if (!argv.js || !argv.css) {
if (!argv.js && !argv.css) {
console.log(usage);
process.exit(0);
}