Skip to content

Commit b8f962a

Browse files
CCM-14307 Fixing Hook path for TF Lint
1 parent cd6d3e6 commit b8f962a

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
@@ -17,7 +17,7 @@ set -euo pipefail
1717
# dir=[path to a directory where the command will be executed, relative to the project's top-level directory, default is '.']
1818
# opts=[options to pass to the Terraform fmt command, default is '-recursive']
1919
function terraform-fmt() {
20-
for d in "${PWD}infrastructure/"*; do
20+
for d in "${PWD}/infrastructure/"*; do
2121
if [ -d "$d" ]; then
2222
terraform fmt --recursive "${d}"
2323
fi

0 commit comments

Comments
 (0)