diff options
author | Oleg Kovalov <iamolegkovalov@gmail.com> | 2020-07-06 17:40:53 +0200 |
---|---|---|
committer | Oleg Kovalov <iamolegkovalov@gmail.com> | 2020-07-06 17:40:53 +0200 |
commit | a99446e290f038900b893e21362c6ff766c30f5e (patch) | |
tree | 8c9eca0445a0bf31ef57840c3950f923d5dc27b8 /plumbing/object | |
parent | a9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff) | |
download | go-git-a99446e290f038900b893e21362c6ff766c30f5e.tar.gz |
Minor linter fixes
Diffstat (limited to 'plumbing/object')
-rw-r--r-- | plumbing/object/change.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object/change.go b/plumbing/object/change.go index c9d1615..8b119bc 100644 --- a/plumbing/object/change.go +++ b/plumbing/object/change.go @@ -75,7 +75,7 @@ func (c *Change) Files() (from, to *File, err error) { func (c *Change) String() string { action, err := c.Action() if err != nil { - return fmt.Sprintf("malformed change") + return "malformed change" } return fmt.Sprintf("<Action: %s, Path: %s>", action, c.name()) |