diff options
author | amine <hilalyamine@gmail.com> | 2019-11-19 19:51:43 +0100 |
---|---|---|
committer | amine <hilalyamine@gmail.com> | 2019-11-19 20:04:40 +0100 |
commit | 87244d3c8da86fa3b02f87211e823f75649585f6 (patch) | |
tree | bdd4f5484c25c5b6c84ed886f168af6e5130abd1 /bridge/github/import.go | |
parent | 8b5685bb9903f4db5c7375aa4ace83772f5d757b (diff) | |
download | git-bug-87244d3c8da86fa3b02f87211e823f75649585f6.tar.gz |
bridge/github: export correctly emit nothing events
Diffstat (limited to 'bridge/github/import.go')
-rw-r--r-- | bridge/github/import.go | 2 |
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, "") |