Skip to content

Commit

Permalink
Fix file_or_dir param
Browse files Browse the repository at this point in the history
  • Loading branch information
ibiqlik committed Aug 18, 2021
1 parent c19bd05 commit 8e028fa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ fi

# Enable globstar so ** globs recursively
shopt -s globstar
# Use the current directory by default
options+=("${INPUT_FILE_OR_DIR:-.}")
shopt -u globstar

yamllint "${options[@]}"
yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.}

shopt -u globstar

0 comments on commit 8e028fa

Please sign in to comment.