Skip to content

Commit

Permalink
Update generate-terraform.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored and modular-magician committed Apr 1, 2019
1 parent a66047f commit ed089e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/magic-modules/generate-terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ git config --global user.name "Modular Magician"

git add -A

# TODO: Remove this, this is just to see what the Magician does
# This is useful for human debugging, but not necessary for the Magician.
git status

# go mod vendor is a very expensive operation.
# If no changes, avoid running.
# Only run `go mod vendor` if we see changes in this downstream repo, since it takes a while to run
if [[ ! -z $(git status -s) ]]; then
GO111MODULE=on go mod vendor
git add -A
fi

# Set the "author" to the commit's real author.
Expand Down

0 comments on commit ed089e3

Please sign in to comment.