Skip to content

Commit

Permalink
exclude README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcwhorter-ddl committed Oct 29, 2024
1 parent 7198407 commit 0d49d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pre-commit/check-aws-partition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exec 1>&2

check_aws_partition() {
declare -A failed_files
exclude_patterns=("policy/AWSLambdaExecute")
exclude_patterns=("policy/AWSLambdaExecute", "README.md")

for file in "$@"; do
if grep -q "arn:aws" "${file}"; then
Expand Down

0 comments on commit 0d49d99

Please sign in to comment.