fix: docs

This commit is contained in:
Alexander Sharov 2024-01-21 21:19:16 +01:00
commit 65ac74a0fd
4 changed files with 15 additions and 15 deletions

View file

@ -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=$?

View file

@ -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[@]}"
}

View file

@ -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 && {