pre-commit-opentofu/terraform_fmt.sh
2017-06-08 11:02:21 +02:00

5 lines
79 B
Bash
Executable file

#!/usr/bin/env bash
for file in "$@"; do
terraform fmt `dirname $file`
done