mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-02 12:00:03 +02:00
fix arguments parsing
This commit is contained in:
@@ -20,7 +20,7 @@ if (argv.h) {
|
|||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!argv.js || !argv.css) {
|
if (!argv.js && !argv.css) {
|
||||||
console.log(usage);
|
console.log(usage);
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user