mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-26 17:22:11 -05:00
Merge pull request #436 from kunzese/patch-1
Ansible: fix globbing issue and allow .yaml too
This commit is contained in:
commit
13eef6855e
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