Make parent folders if required

This commit is contained in:
Peter Newman
2020-12-02 18:18:19 +00:00
committed by GitHub
parent 08ae01ddc5
commit bf2bec9279
+1 -1
View File
@@ -18,7 +18,7 @@ export RUNNER_TEMP="/foo/runner_temp"
# This function runs before every test
function setup() {
# Simulate the Dockerfile COPY command
[ -d "${RUNNER_TEMP}/code/" ] || sudo mkdir ${RUNNER_TEMP}/code/
[ -d "${RUNNER_TEMP}/code/" ] || sudo mkdir -p ${RUNNER_TEMP}/code/
[ -f "${RUNNER_TEMP}/code/codespell-matcher.json" ] || sudo cp codespell-problem-matcher/codespell-matcher.json ${RUNNER_TEMP}/code/
# Set default input values