fix: SC1001, SC2018, SC2019 shellcheck fixes.

This commit is contained in:
Robert Wlodarczyk 2022-07-16 08:25:09 -07:00
parent 6d92c31545
commit 882fb137f2

View File

@ -55,7 +55,7 @@ ensure_docker_socket_accessible() {
}
slugify() {
echo "$@" | iconv -t ascii | sed -r s/[~\^]+//g | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z
echo "$@" | iconv -t ascii | sed -r s/[~^]+//g | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr '[:upper:]' '[:lower:]'
}
make_image_cmd() {