Skip to content

Commit bf18cbe

Browse files
committed
Added GIT pull before commit, fix #2
1 parent 49966fd commit bf18cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/store/git/git.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (s *Store) commitAndPush() {
234234

235235
err = s.Git("pull", "-s", "recursive", "-X", "ours", "--no-edit")
236236
if err != nil {
237-
return false, fmt.Errorf("failed to git pull -s recursive -X ours --no-edit: %v", err)
237+
s.Logger.Errorf("failed to git pull -s recursive -X ours --no-edit: %v", err)
238238
}
239239

240240
err = s.Push()

0 commit comments

Comments
 (0)