see https://github.com/koalaman/shellcheck/wiki/SC2155 Looking at how these were used, I don't think we even need to export them, so removing that. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@@ -2,7 +2,7 @@
#
# Run all validation
-export SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. ${SCRIPTDIR}/default
. ${SCRIPTDIR}/vendor
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
source "${SCRIPTDIR}/.validate"
adds=$(validate_diff --numstat | awk '{ s += $1 } END { print s }')
# Run default validation, exclude vendor because it's slow
# Skip DCO check here, as it's already checked in a separate stage in the Jenkinsfile
#. "${SCRIPTDIR}"/dco
IFS=$'\n'
@@ -1,7 +1,7 @@
# Check that no new tests are being added to integration-cli
new_tests=$(
set -e