Skip to content

Commit dd1c43b

Browse files
committed
fix: stack selection output
1 parent 0d71869 commit dd1c43b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/taito-template/init.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ function prune () {
2929
local path=$3
3030
local path2=$4
3131

32+
echo
3233
read -r -t 1 -n 1000 || :
3334
read -p "$message" -n 1 -r confirm
3435
if ( [[ "$message" == *"[y/N]"* ]] && ! [[ "${confirm}" =~ ^[Yy]$ ]] ) || \
3536
( [[ "$message" == *"[Y/n]"* ]] && ! [[ "${confirm}" =~ ^[Yy]*$ ]] ); then
36-
echo
37-
echo "Removing ${name}..."
38-
echo
37+
echo " Removing ${name}..."
3938
if [[ $path ]]; then
4039
sed -i "/^ location $path {\$/,/^ }$/d" docker-nginx.conf
4140
fi
@@ -143,6 +142,7 @@ function prune () {
143142
rm -rf "$name"
144143
else
145144
if [[ $name == "kafka" ]]; then
145+
echo
146146
read -r -t 1 -n 1000 || :
147147
read -p "Use external Kafka cluster? [Y/n] " -n 1 -r confirm
148148
if [[ ${confirm} =~ ^[Yy]*$ ]]; then

0 commit comments

Comments
 (0)