Skip to content

Commit 9cb90a5

Browse files
Vishal VaibhavGitHub Enterprise
authored andcommitted
module-bug-fix (#24)
* module-bug-fix * more fixes
1 parent 00e2492 commit 9cb90a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fi
3030

3131
set -x
3232

33-
PLUGIN_MODULE="${PLUGIN_MODULE:-}"
33+
module="$(get_env_var "${PLUGIN_MODULE:-}" "${PARAMETER_MODULE:-}")"
3434
PLUGIN_RUN_DIR="${PLUGIN_RUN_DIR:-}"
3535
branch="$(get_env_var "${DRONE_BRANCH:-}" "${VELA_PULL_REQUEST_TARGET:-}")"
3636

@@ -39,4 +39,4 @@ git config --global user.email "drone@drone.shipt.com"
3939

4040

4141
git fetch --no-tags origin "$branch"
42-
git --no-pager diff --unified=0 origin/"$branch" $PLUGIN_MODULE | $PLUGIN_RUN_DIR/plugin
42+
git --no-pager diff --unified=0 origin/"$branch" $module | $PLUGIN_RUN_DIR/plugin

0 commit comments

Comments
 (0)