mirror of https://github.com/istio/istio.io.git
Flip conditional polarity to remove useless work when linting.
This commit is contained in:
parent
0b313e373b
commit
4424563918
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue