Flip conditional polarity to remove useless work when linting.

This commit is contained in:
mtail 2018-08-06 06:56:46 -07:00
parent 0b313e373b
commit 4424563918
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ html-minifier --version
hugo --baseURL "$1"
if [ "$2" == "-no_minify" ]
if [ "$2" != "-no_minify" ]
then
html-minifier --input-dir public --output-dir public --file-ext html --collapse-whitespace --minify-js --minify-css --sort-attributes --sort-class-name --remove-attribute-quotes --remove-comments
fi