pre-commit-opentofu/terrraform_fmt.sh

5 lines
79 B
Bash
Raw Normal View History

2016-09-27 20:01:11 +02:00
#!/usr/bin/env bash
for file in "$@"; do
terraform fmt `dirname $file`
done