We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5793c2 commit bf31d22Copy full SHA for bf31d22
helm-git-plugin.sh
@@ -4,6 +4,10 @@
4
5
set -eu
6
7
+# Mark this shell
8
+# shellcheck disable=SC2034
9
+HELM_GIT_SOURCE=1
10
+
11
bin_name="helm-git"
12
readonly bin_name
13
allowed_protocols="https http file ssh"
tests/test-helper.bash
@@ -3,8 +3,10 @@
3
export HELM_GIT_DEBUG=1
export HELM_GIT_DIRNAME="$BATS_TEST_DIRNAME/.."
-# shellcheck source=helm-git-plugin.sh
-source "$HELM_GIT_DIRNAME/helm-git-plugin.sh"
+if [ -z "$HELM_GIT_SOURCE" ]; then
+ # shellcheck source=helm-git-plugin.sh
+ source "$HELM_GIT_DIRNAME/helm-git-plugin.sh"
+fi
function _run_helm_git() { run main '' '' '' "$1"; }
0 commit comments