diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-09 20:17:12 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-09 20:17:12 +0200 |
commit | 30d4bc2121496f333db1a918190339d2bcf22f17 (patch) | |
tree | bbffb4216e7dc0e701e621d4df0369825a69ee7a /bug | |
parent | 13797c3b77b9e44860b47d381c9451d8ab70b14d (diff) | |
download | git-bug-30d4bc2121496f333db1a918190339d2bcf22f17.tar.gz |
fix english grammar
Diffstat (limited to 'bug')
-rw-r--r-- | bug/bug.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -106,8 +106,8 @@ func readBug(repo repository.Repo, ref string) (*Bug, error) { return nil, err } - refSplitted := strings.Split(ref, "/") - id := refSplitted[len(refSplitted)-1] + refSplit := strings.Split(ref, "/") + id := refSplit[len(refSplit)-1] if len(id) != idLength { return nil, fmt.Errorf("Invalid ref length") @@ -269,8 +269,8 @@ func refsToIds(refs []string) []string { ids := make([]string, len(refs)) for i, ref := range refs { - splitted := strings.Split(ref, "/") - ids[i] = splitted[len(splitted)-1] + split := strings.Split(ref, "/") + ids[i] = split[len(split)-1] } return ids |