Make parent folders if required
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user