forked from github/pre-commit-opentofu
fix: docs
This commit is contained in:
parent
b137a0f5c8
commit
65ac74a0fd
4 changed files with 15 additions and 15 deletions
|
|
@ -134,7 +134,7 @@ function per_dir_hook_unique_part {
|
|||
# TODO: Remove in 2.0
|
||||
if [ ! "$mode" ]; then
|
||||
common::colorify "yellow" "DEPRECATION NOTICE: We introduced '--mode' flag for this hook.
|
||||
Check migration instructions at https://github.com/tofuutils/pre-commit-opentofu#terraform_providers_lock
|
||||
Check migration instructions at https://github.com/tofuutils/pre-commit-opentofu#tofu_providers_lock
|
||||
"
|
||||
common::tofu_init 'OpenTofu providers lock' "$dir_path" || {
|
||||
exit_code=$?
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ function main {
|
|||
fi
|
||||
|
||||
common::colorify "yellow" "tfsec tool was deprecated, and replaced by trivy. You can check trivy hook here:"
|
||||
common::colorify "yellow" "https://github.com/tofuutils/pre-commit-opentofu/tree/master#terraform_trivy"
|
||||
common::colorify "yellow" "https://github.com/tofuutils/pre-commit-opentofu/tree/master#tofu_trivy"
|
||||
|
||||
common::per_dir_hook "$HOOK_ID" "${#ARGS[@]}" "${ARGS[@]}" "${FILES[@]}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ function per_dir_hook_unique_part {
|
|||
esac
|
||||
done
|
||||
|
||||
# First try `terratofuform validate` with the hope that all deps are
|
||||
# First try `tofu validate` with the hope that all deps are
|
||||
# pre-installed. That is needed for cases when `.terraform/modules`
|
||||
# or `.terraform/providers` missed AND that is expected.
|
||||
tofu validate "${args[@]}" &> /dev/null && {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue