mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 18:43:34 -05:00
mapfile
This commit is contained in:
parent
6701372154
commit
b601d7057b
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ CleanTestFiles() {
|
||||||
##################
|
##################
|
||||||
# Find the files #
|
# Find the files #
|
||||||
##################
|
##################
|
||||||
FIND_CMD=($(cd "${GITHUB_WORKSPACE}" ; find . -type f -name "*_bad_*" 2>&1))
|
mapfile -t FIND_CMD < <(cd "${GITHUB_WORKSPACE}" || exit 1 ; find "${GITHUB_WORKSPACE}" -type f -name "*_bad_*" 2>&1)
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Load the error code #
|
# Load the error code #
|
||||||
|
@ -85,7 +85,7 @@ CleanTestDockerFiles() {
|
||||||
##################
|
##################
|
||||||
# Find the files #
|
# Find the files #
|
||||||
##################
|
##################
|
||||||
FIND_CMD=($(cd "${GITHUB_WORKSPACE}" ; find . -type f -name "*Dockerfile" 2>&1))
|
mapfile -t FIND_CMD < <(cd "${GITHUB_WORKSPACE}" || exit 1 ; find "${GITHUB_WORKSPACE}" -type f -name "*Dockerfile" 2>&1)
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Load the error code #
|
# Load the error code #
|
||||||
|
|
Loading…
Reference in a new issue