fix: correct shfmt issues

This commit is contained in:
Jose Diaz-Gonzalez committed 2019-09-17 02:22:41 -04:00
1 parent 06b565f3e5
commit cb281e17e6
2 files changed
+2 -2

No files matched your search

+2 -1
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
-1
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