mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
add warning:
This commit is contained in:
parent
9ff430fe83
commit
d9b3473867
1 changed files with 10 additions and 0 deletions
|
@ -89,6 +89,16 @@ function BuildFileList() {
|
||||||
fatal "[${RAW_FILE_ARRAY[*]}]"
|
fatal "[${RAW_FILE_ARRAY[*]}]"
|
||||||
fi
|
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 #
|
# Iterate through the array of all files found #
|
||||||
################################################
|
################################################
|
||||||
|
|
Loading…
Reference in a new issue