We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6d3e6 commit b8f962aCopy full SHA for b8f962a
1 file changed
scripts/terraform/terraform.lib.sh
@@ -17,7 +17,7 @@ set -euo pipefail
17
# dir=[path to a directory where the command will be executed, relative to the project's top-level directory, default is '.']
18
# opts=[options to pass to the Terraform fmt command, default is '-recursive']
19
function terraform-fmt() {
20
- for d in "${PWD}infrastructure/"*; do
+ for d in "${PWD}/infrastructure/"*; do
21
if [ -d "$d" ]; then
22
terraform fmt --recursive "${d}"
23
fi
0 commit comments