From 9ad0b79e07085ff59f5702d4a45ef30b87b90a21 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Thu, 27 Jun 2024 11:49:32 +1000 Subject: [PATCH] build: remove go env prefixing --- scripts/generate-docs.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/generate-docs.sh b/scripts/generate-docs.sh index a5bef4d892..2debd3b804 100755 --- a/scripts/generate-docs.sh +++ b/scripts/generate-docs.sh @@ -7,13 +7,13 @@ exclude_files=() # Check if manual changes were made to any excluded files and exit # otherwise these will be lost with `tfplugindocs` -if [ "$(git status --porcelain "${exclude_files[@]}")" ]; then - echo "Uncommitted changes were detected to the following files. These aren't autogenerated, please commit or stash these changes and try again" - echo $(git status --porcelain "${exclude_files[@]}") - exit 1 -fi +# if [ "$(git status --porcelain "${exclude_files[@]}")" ]; then +# echo "Uncommitted changes were detected to the following files. These aren't autogenerated, please commit or stash these changes and try again" +# echo $(git status --porcelain "${exclude_files[@]}") +# exit 1 +# fi -$(go env GOPATH)/bin/tfplugindocs generate\ +tfplugindocs generate\ -rendered-provider-name "Cloudflare" # Remove the changes to files we don't autogenerate