aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/github/import.go')
-rw-r--r--bridge/github/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/import.go b/bridge/github/import.go
index d24c1d2b..b89e7e02 100644
--- a/bridge/github/import.go
+++ b/bridge/github/import.go
@@ -70,7 +70,7 @@ func (gi *githubImporter) ImportAll(ctx context.Context, repo *cache.RepoCache,
if !b.NeedCommit() {
out <- core.NewImportNothing(b.Id(), "no imported operation")
- } else if err := b.CommitAsNeeded(); err != nil {
+ } else if err := b.Commit(); err != nil {
// commit bug state
err = fmt.Errorf("bug commit: %v", err)
out <- core.NewImportError(err, "")