Skip to content

Commit 2f7f2eb

Browse files
cli: force update local plugin index (close hasura#6219) (hasura#70)
Co-authored-by: scriptonist <[email protected]> GITHUB_PR_NUMBER: 6231 GITHUB_PR_URL: hasura#6231 Co-authored-by: scriptonist <[email protected]> GitOrigin-RevId: c34d88b
1 parent fb902d4 commit 2f7f2eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/util/git.go

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ func (g *GitUtil) updateAndCleanUntracked() error {
107107
}
108108
err = wt.Pull(&git.PullOptions{
109109
ReferenceName: g.ReferenceName,
110+
Force: true,
110111
})
111112
if err != nil && err != git.NoErrAlreadyUpToDate {
112113
return err

0 commit comments

Comments
 (0)