tests: fix shfmt issues
This commit is contained in:
1 parent
3681c17aa2
commit
02a8409114
5 files changed
+13
-14
No files matched your search
@@ -54,7 +54,7 @@ domains_add() {
|
||||
done
|
||||
|
||||
for DOMAIN in "$@"; do
|
||||
if grep -x --line-regexp --fixed-strings "$DOMAIN" "$APP_VHOST_PATH" 2> /dev/null; then
|
||||
if grep -x --line-regexp --fixed-strings "$DOMAIN" "$APP_VHOST_PATH" 2>/dev/null; then
|
||||
dokku_log_info1 "Skipping: $DOMAIN already added to $APP"
|
||||
else
|
||||
echo "$DOMAIN" >>"$APP_VHOST_PATH"
|
||||
@@ -149,7 +149,7 @@ domains_add_global() {
|
||||
done
|
||||
|
||||
for DOMAIN in "$@"; do
|
||||
if grep -q --line-regexp --fixed-strings "$DOMAIN" "$GLOBAL_VHOST_PATH" 2> /dev/null; then
|
||||
if grep -q --line-regexp --fixed-strings "$DOMAIN" "$GLOBAL_VHOST_PATH" 2>/dev/null; then
|
||||
dokku_log_info1 "Skipping $DOMAIN: already added"
|
||||
else
|
||||
echo "$DOMAIN" >>"$GLOBAL_VHOST_PATH"
|
||||
|
||||
Reference in new issue
Block a user