There was an error while loading. Please reload this page.
1 parent 598bf2c commit d9f482cCopy full SHA for d9f482c
hooks/terraform_validate.sh
@@ -111,7 +111,7 @@ function terraform_validate_ {
111
112
if [[ -n "$(find "$dir_path" -maxdepth 1 -name '*.tf' -print -quit)" ]]; then
113
114
- pushd "$(cd "$dir_path" && pwd -P)" > /dev/null
+ pushd "$(cd "$dir_path" > /dev/null && pwd -P)" > /dev/null
115
116
if [ ! -d .terraform ]; then
117
set +e
0 commit comments