MON-293 remove useless cd command
This commit is contained in:
parent
9cccfe2dea
commit
c81cb05668
@ -5,11 +5,9 @@ source "$(dirname $0)/utils.sh"
|
||||
goto_root
|
||||
|
||||
for path in $(find "$(get_scope $1)" -path ./testing -prune -o -path ./incubator -prune -o -name 'inputs.tf' -print); do
|
||||
cd $(dirname ${path})
|
||||
echo $path
|
||||
terraform init
|
||||
terraform validate --check-variables=false
|
||||
cd -
|
||||
dir=$(dirname ${path})
|
||||
terraform init ${dir}
|
||||
terraform validate --check-variables=false ${dir}
|
||||
done
|
||||
|
||||
terraform fmt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user