fix: correct shfmt issues

This commit is contained in:
Jose Diaz-Gonzalez
2019-09-17 02:22:41 -04:00
parent 06b565f3e5
commit cb281e17e6
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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