diff --git a/plugins/git/deploy-method b/plugins/git/deploy-method index ffac0e48c..32fe06198 100755 --- a/plugins/git/deploy-method +++ b/plugins/git/deploy-method @@ -5,7 +5,8 @@ git_deploy_method() { declare desc="git deploy-method plugin trigger" declare trigger="git_deploy_method" declare APP="$1" - local STDIN=$(cat) + local STDIN + STDIN=$(cat) # bail if another method is detected if [[ -n "$STDIN" ]]; then diff --git a/plugins/tar/deploy-method b/plugins/tar/deploy-method index a48e6a2be..0fb6a0e03 100755 --- a/plugins/tar/deploy-method +++ b/plugins/tar/deploy-method @@ -5,7 +5,8 @@ tar_deploy_method() { declare desc="tar deploy-method plugin trigger" declare trigger="tar_deploy_method" declare APP="$1" - local STDIN=$(cat) + local STDIN + STDIN=$(cat) # bail if another method is detected if [[ -n "$STDIN" ]]; then