mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -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'
|
||||
fi
|
||||
|
||||
terraform get 2>&1
|
||||
(
|
||||
cd "${DIR_NAME}" || exit
|
||||
terraform get 2>&1
|
||||
)
|
||||
fi
|
||||
|
||||
LINT_CMD=$(
|
||||
|
|
Loading…
Reference in a new issue