mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Pass command line arguments to tflint init (#487)
This commit is contained in:
parent
d20d399f8c
commit
29a8c00251
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ function main {
|
|||
# Run `tflint --init` for check that plugins installed.
|
||||
# It should run once on whole repo.
|
||||
{
|
||||
TFLINT_INIT=$(tflint --init 2>&1) 2> /dev/null &&
|
||||
TFLINT_INIT=$(tflint --init "${ARGS[@]}" 2>&1) 2> /dev/null &&
|
||||
common::colorify "green" "Command 'tflint --init' successfully done:" &&
|
||||
echo -e "${TFLINT_INIT}\n\n\n"
|
||||
} || {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue