We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f9df05 commit a7a2ebcCopy full SHA for a7a2ebc
1 file changed
scripts/terraform/terraform.lib.sh
@@ -53,7 +53,7 @@ function terraform-destroy() {
53
# dir=[path to a directory where the command will be executed, relative to the project's top-level directory, default is '.']
54
# opts=[options to pass to the Terraform fmt command, default is '-recursive']
55
function terraform-fmt() {
56
- for d in "${PWD}infrastructure/"*; do
+ for d in "${PWD}/infrastructure/"*; do
57
if [ -d "$d" ]; then
58
terraform fmt --recursive "${d}"
59
fi
0 commit comments