Skip to content

Commit

Permalink
build: remove go env prefixing
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Jun 27, 2024
1 parent badb3dc commit 9ad0b79
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ad0b79

Please sign in to comment.