mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 10:33:37 -05:00
Ansible: fix globbing issue and allow .yaml too
This commit is contained in:
parent
cdd76a3f77
commit
698aa76a0f
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ function LintAnsibleFiles() {
|
|||
#################################
|
||||
# Get list of all files to lint #
|
||||
#################################
|
||||
mapfile -t LIST_FILES < <(ls "$ANSIBLE_DIRECTORY/*.yml" 2>&1)
|
||||
mapfile -t LIST_FILES < <(ls "$ANSIBLE_DIRECTORY"/*.{yaml,yml} 2>&1)
|
||||
|
||||
###############################################################
|
||||
# Set the list to empty if only MD and TXT files were changed #
|
||||
|
|
Loading…
Reference in a new issue