Skip to content

Commit 2d51e3a

Browse files
author
Andrew Babichev
committed
@review Drop tr
1 parent f8760a4 commit 2d51e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/terraform-validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77
# workaround to allow GitHub Desktop to work, add this (hopefully harmless) setting here.
88
export PATH=$PATH:/usr/local/bin
99

10-
for dir in $(echo "$@" | tr -s " " "\n" | sort -u | xargs -n1 dirname | uniq); do
10+
for dir in $(echo "$@" | xargs -n1 dirname | sort -u | uniq); do
1111
terraform init -backend=false $dir
1212
terraform validate $dir
1313
done

0 commit comments

Comments
 (0)