mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Show failed path
This commit is contained in:
parent
93394c482a
commit
b9a885160a
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ for file_with_path in "$@"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do
|
for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do
|
||||||
|
echo "Working dir => $path_uniq"
|
||||||
|
|
||||||
pushd "$path_uniq" > /dev/null
|
pushd "$path_uniq" > /dev/null
|
||||||
terraform validate -check-variables=false
|
terraform validate -check-variables=false
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue