diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-05-05 14:08:48 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-05-05 18:16:10 +0200 |
commit | 537eddb97843a3f520fdedcd35f77b08880a4829 (patch) | |
tree | 74a6f454df40731721abb08f1ce5d55060f1255f /bridge/github | |
parent | 7d0296337287ed3d5a97f15c64d51d24340f2567 (diff) | |
download | git-bug-537eddb97843a3f520fdedcd35f77b08880a4829.tar.gz |
Fix import bug
Diffstat (limited to 'bridge/github')
-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 e72a2a45..9b9b790e 100644 --- a/bridge/github/import.go +++ b/bridge/github/import.go @@ -324,7 +324,7 @@ func (gi *githubImporter) ensureTimelineComment(repo *cache.RepoCache, b *cache. } } } else { - for i, edit := range item.UserContentEdits.Nodes { + for i, edit := range edits { if i == 0 && target != "" { // The first edit in the github result is the comment creation itself, we already have that continue |