Fix usage of FILE_ARRAY_SNAKEMAKE

This commit is contained in:
kpj 2020-09-11 13:51:15 +02:00
parent e1b2fd6085
commit 11f437df4c
2 changed files with 2 additions and 1 deletions

View file

@ -487,7 +487,7 @@ function BuildFileList() {
###########################
# Get the SNAKEMAKE files #
###########################
elif [ "${FILE_TYPE}" == "smk" ]; then
elif [ "${FILE_TYPE}" == "smk" ] || [ "${BASE_FILE}" == "Snakefile" ]; then
################################
# Append the file to the array #
################################

View file

@ -315,6 +315,7 @@ FILE_ARRAY_PYTHON_FLAKE8=() # Array of files to check
FILE_ARRAY_R=() # Array of files to check
FILE_ARRAY_RAKU=() # Array of files to check
FILE_ARRAY_RUBY=() # Array of files to check
FILE_ARRAY_SNAKEMAKE=() # Array of files to check
FILE_ARRAY_STATES=() # Array of files to check
FILE_ARRAY_SQL=() # Array of files to check
FILE_ARRAY_TERRAFORM=() # Array of files to check