summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-12-23 16:34:31 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-12-23 16:34:31 +0100
commite974b44e8673ded449ce4a3ed5844398b68e81a2 (patch)
treea07a517469c7e20f4a912bd7a50e77e43f25f202
parent69b8cddb1b5bca729d8983450fe0b0e1ac1a2f46 (diff)
downloadspack-e974b44e8673ded449ce4a3ed5844398b68e81a2.tar.gz
spack-e974b44e8673ded449ce4a3ed5844398b68e81a2.tar.bz2
spack-e974b44e8673ded449ce4a3ed5844398b68e81a2.tar.xz
spack-e974b44e8673ded449ce4a3ed5844398b68e81a2.zip
Fix execution of style testsv0.17.1
-rwxr-xr-xshare/spack/qa/run-style-tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/spack/qa/run-style-tests b/share/spack/qa/run-style-tests
index 9f0cbdb266..df3d441c75 100755
--- a/share/spack/qa/run-style-tests
+++ b/share/spack/qa/run-style-tests
@@ -19,6 +19,8 @@
args=()
if [[ -n $GITHUB_BASE_REF ]]; then
args+=("--base" "${GITHUB_BASE_REF}")
+else
+ args+=("--base" "${GITHUB_REF_NAME}")
fi
# verify that the code style is correct