From 936a18abe83dbe1608bf782388aba412fd9f8ef5 Mon Sep 17 00:00:00 2001 From: Spirit Date: Mon, 26 Aug 2024 17:33:15 +0300 Subject: [PATCH] fix a typo? --- html-minify.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html-minify.sh b/html-minify.sh index 42bdfb2..5aacfad 100755 --- a/html-minify.sh +++ b/html-minify.sh @@ -4,10 +4,10 @@ # - if html line have two paths only one file considered # - fails if js file has backticks -command -v html-minifier >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js cleancss svgo" >&2; exit 1; } -command -v uglifyjs >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js cleancss svgo" >&2; exit 1; } -command -v cleancss >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js cleancss svgo" >&2; exit 1; } -command -v svgo >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js cleancss svgo" >&2; exit 1; } +command -v html-minifier >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js clean-css-cli svgo" >&2; exit 1; } +command -v uglifyjs >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js clean-css-cli svgo" >&2; exit 1; } +command -v cleancss >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js clean-css-cli svgo" >&2; exit 1; } +command -v svgo >/dev/null 2>&1 || { echo "Error: to install missing deps run: npm i -g html-minifier uglify-js clean-css-cli svgo" >&2; exit 1; } if [[ $# -eq 0 ]]; then html_file=index.html