From ece5335f5d1b27d1aa388724f5613ca1d976dbc8 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Tue, 15 Nov 2016 10:36:37 +0100 Subject: [PATCH] Fixed last linter errors --- model/maintainer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/maintainer.go b/model/maintainer.go index b3e9cc8..340e64d 100644 --- a/model/maintainer.go +++ b/model/maintainer.go @@ -87,7 +87,7 @@ func parseMaintainerToml(data string) (*Maintainer, error) { return nil, err } if m.People == nil { - return nil, fmt.Errorf("Invalid Toml format. Missing people section.") + return nil, fmt.Errorf("Invalid TOML format, missing people section") } // if the person is defined in the file, but the Login field is // empty, we can use the map key as the Login value. This is mainly @@ -125,7 +125,7 @@ func parseMaintainerText(data string) (*Maintainer, error) { person = parseLoginEmail(item) } if person == nil { - return nil, fmt.Errorf("Invalid file format.") + return nil, fmt.Errorf("Invalid file format") } m.People[person.Login] = person