mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
fix: cd to terraform directory before running get
This commit is contained in:
parent
366889a844
commit
0741c52808
1 changed files with 4 additions and 1 deletions
|
@ -285,7 +285,10 @@ function LintCodebase() {
|
||||||
TFLINT_SEEN_DIRS[${DIR_NAME}]='false'
|
TFLINT_SEEN_DIRS[${DIR_NAME}]='false'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
terraform get 2>&1
|
(
|
||||||
|
cd "${DIR_NAME}" || exit
|
||||||
|
terraform get 2>&1
|
||||||
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LINT_CMD=$(
|
LINT_CMD=$(
|
||||||
|
|
Loading…
Reference in a new issue