mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
commit
a8755c9818
1 changed files with 10 additions and 0 deletions
|
@ -89,6 +89,16 @@ function BuildFileList() {
|
|||
fatal "[${RAW_FILE_ARRAY[*]}]"
|
||||
fi
|
||||
|
||||
##########################################################################
|
||||
# Check to make sure the raw file array is not empty or throw a warning! #
|
||||
##########################################################################
|
||||
if [ ${#RAW_FILE_ARRAY[@]} -eq 0 ]; then
|
||||
###############################
|
||||
# No files were found to lint #
|
||||
###############################
|
||||
warn "No files were found in the GITHUB_WORKSPACE:[${GITHUB_WORKSPACE}] to lint!"
|
||||
fi
|
||||
|
||||
################################################
|
||||
# Iterate through the array of all files found #
|
||||
################################################
|
||||
|
|
Loading…
Reference in a new issue