mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2026-06-02 15:16:54 +02:00
fix: initialize config_file_no_color variable
Initialize the config_file_no_color variable to prevent potential unbound variable errors during script execution. This change improves script robustness and reliability. Signed-off-by: Michael Rosenfeld <michael@rosesecurity.com>
This commit is contained in:
parent
3f263a968c
commit
b766f82b08
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ function tofu_docs {
|
|||
local -a -r files=("$@")
|
||||
|
||||
local -a paths
|
||||
local config_file_no_color=""
|
||||
|
||||
local index=0
|
||||
local file_with_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue