Skip to content

Commit

Permalink
Fix globbing guidance for sh/bash (#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmulvey123 authored Jul 20, 2023
1 parent 86ffbad commit 7dde0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Lint all `yaml` files in `path` and all subdirectories (recursive):
- `cfn-lint path/**/*.yaml`

*Note*: If using sh/bash/zsh, you must enable globbing.
(`setopt -s globstar` for sh/bash, `setopt extended_glob` for zsh).
(`shopt -s globstar` for sh/bash, `setopt extended_glob` for zsh).

##### Exit Codes
`cfn-lint` will return a non zero exit if there are any issues with your template. The value is dependent on the severity of the issues found. For each level of discovered error `cfn-lint` will use bitwise OR to determine the final exit code. This will result in these possibilities.
Expand Down

0 comments on commit 7dde0b1

Please sign in to comment.