Skip to content

Commit a7a2ebc

Browse files
CCM-14307 Fixing Hook path for TF Lint (#451)
1 parent 4f9df05 commit a7a2ebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/terraform/terraform.lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function terraform-destroy() {
5353
# dir=[path to a directory where the command will be executed, relative to the project's top-level directory, default is '.']
5454
# opts=[options to pass to the Terraform fmt command, default is '-recursive']
5555
function terraform-fmt() {
56-
for d in "${PWD}infrastructure/"*; do
56+
for d in "${PWD}/infrastructure/"*; do
5757
if [ -d "$d" ]; then
5858
terraform fmt --recursive "${d}"
5959
fi

0 commit comments

Comments
 (0)