fix: correct shfmt issues
This commit is contained in:
@@ -241,7 +241,8 @@ fn-git-create-hook() {
|
|||||||
|
|
||||||
cat >"$PRERECEIVE_HOOK" <<EOF
|
cat >"$PRERECEIVE_HOOK" <<EOF
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e; set -o pipefail;
|
set -e
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
cat | DOKKU_ROOT="$DOKKU_ROOT" dokku git-hook $APP
|
cat | DOKKU_ROOT="$DOKKU_ROOT" dokku git-hook $APP
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ fn-nginx-vhosts-nginx-init-cmd() {
|
|||||||
declare CMD="$1"
|
declare CMD="$1"
|
||||||
local NGINX_INIT_NAME
|
local NGINX_INIT_NAME
|
||||||
|
|
||||||
|
|
||||||
NGINX_INIT_NAME=nginx
|
NGINX_INIT_NAME=nginx
|
||||||
if fn-nginx-vhosts-uses-openresty; then
|
if fn-nginx-vhosts-uses-openresty; then
|
||||||
NGINX_INIT_NAME=openresty
|
NGINX_INIT_NAME=openresty
|
||||||
|
|||||||
Reference in New Issue
Block a user