mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 16:51:05 -05:00
more cleanupo
This commit is contained in:
parent
4bf0aee923
commit
d9f35b2af7
2 changed files with 3 additions and 4 deletions
|
@ -70,7 +70,8 @@ function BuildFileList() {
|
||||||
# Iterate through the array of all files found #
|
# Iterate through the array of all files found #
|
||||||
################################################
|
################################################
|
||||||
info "----------------------------------------------"
|
info "----------------------------------------------"
|
||||||
info "Files that have been modified in the commit(s):"
|
info "------ Files modified in the commit(s): ------"
|
||||||
|
info "----------------------------------------------"
|
||||||
for FILE in "${RAW_FILE_ARRAY[@]}"; do
|
for FILE in "${RAW_FILE_ARRAY[@]}"; do
|
||||||
###########################
|
###########################
|
||||||
# Get the files extension #
|
# Get the files extension #
|
||||||
|
|
|
@ -1771,8 +1771,7 @@ if [ "${VALIDATE_R}" == "true" ]; then
|
||||||
##########################
|
##########################
|
||||||
# Check for local config #
|
# Check for local config #
|
||||||
##########################
|
##########################
|
||||||
if [ ! -f "${GITHUB_WORKSPACE}/.lintr" ] && [ ${#FILE_ARRAY_R[@]} -ne 0 ]; then
|
if [ ! -f "${GITHUB_WORKSPACE}/.lintr" ] && (( ${#FILE_ARRAY_R[@]} )); then
|
||||||
info " "
|
|
||||||
info "No .lintr configuration file found, using defaults."
|
info "No .lintr configuration file found, using defaults."
|
||||||
cp $R_LINTER_RULES "$GITHUB_WORKSPACE"
|
cp $R_LINTER_RULES "$GITHUB_WORKSPACE"
|
||||||
fi
|
fi
|
||||||
|
@ -1790,7 +1789,6 @@ if [ "${VALIDATE_RAKU}" == "true" ]; then
|
||||||
#######################
|
#######################
|
||||||
# Lint the raku files #
|
# Lint the raku files #
|
||||||
#######################
|
#######################
|
||||||
info "${GITHUB_WORKSPACE}/META6.json"
|
|
||||||
if [ -e "${GITHUB_WORKSPACE}/META6.json" ]; then
|
if [ -e "${GITHUB_WORKSPACE}/META6.json" ]; then
|
||||||
cd "${GITHUB_WORKSPACE}" && zef install --deps-only --/test .
|
cd "${GITHUB_WORKSPACE}" && zef install --deps-only --/test .
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue