Skip to content

Commit

Permalink
cli: force update local plugin index (close #6219) (#70)
Browse files Browse the repository at this point in the history
Co-authored-by: scriptonist <aravindkp@hasura.io>
GITHUB_PR_NUMBER: 6231
GITHUB_PR_URL: #6231

Co-authored-by: scriptonist <aravindkp@hasura.io>
  • Loading branch information
hasura-bot and scriptonist committed Nov 20, 2020
1 parent bf88f34 commit c34d88b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/util/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func (g *GitUtil) updateAndCleanUntracked() error {
}
err = wt.Pull(&git.PullOptions{
ReferenceName: g.ReferenceName,
Force: true,
})
if err != nil && err != git.NoErrAlreadyUpToDate {
return err
Expand Down

0 comments on commit c34d88b

Please sign in to comment.