Merge pull request #122769 from thockin/bump_shellcheck_version
Bump shellcheck to 0.9.0
This commit is contained in:
@@ -269,7 +269,7 @@ runTests() {
|
||||
| tee ${junit_filename_prefix:+"${junit_filename_prefix}.stdout"} \
|
||||
| grep --binary-files=text "${go_test_grep_pattern}" && rc=$? || rc=$?
|
||||
produceJUnitXMLReport "${junit_filename_prefix}"
|
||||
return ${rc}
|
||||
return "${rc}"
|
||||
fi
|
||||
|
||||
kube::log::status "Running tests with code coverage ${KUBE_RACE:+"and with ${KUBE_RACE}"}"
|
||||
@@ -340,7 +340,7 @@ runTests() {
|
||||
go tool cover -html="${COMBINED_COVER_PROFILE}" -o="${coverage_html_file}"
|
||||
kube::log::status "Combined coverage report: ${coverage_html_file}"
|
||||
|
||||
return ${test_result}
|
||||
return "${test_result}"
|
||||
}
|
||||
|
||||
reportCoverageToCoveralls() {
|
||||
|
@@ -114,7 +114,7 @@ function is-explicitly-chosen {
|
||||
index=0
|
||||
for e in "${TARGET_LIST[@]}"; do
|
||||
if [[ "${e}" == "${name}" ]]; then
|
||||
TARGET_LIST[${index}]=""
|
||||
TARGET_LIST[index]=""
|
||||
return
|
||||
fi
|
||||
index=$((index + 1))
|
||||
|
Reference in New Issue
Block a user