aboutsummaryrefslogtreecommitdiffstats
path: root/bug/label.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-24 17:40:52 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:52:53 +0100
commit475b7b4c490bc3729772932f2d7bbcabb8f781a7 (patch)
tree345d35ce5cb563a470a06c87c13a0ce78ea576cd /bug/label.go
parent2fd5f71b592eeebd0c0c4c770a7dac88d7eae80a (diff)
downloadgit-bug-475b7b4c490bc3729772932f2d7bbcabb8f781a7.tar.gz
a round of cleanup
Diffstat (limited to 'bug/label.go')
-rw-r--r--bug/label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/label.go b/bug/label.go
index b73222dd..0ad84f22 100644
--- a/bug/label.go
+++ b/bug/label.go
@@ -28,7 +28,7 @@ func (l *Label) UnmarshalGQL(v interface{}) error {
// MarshalGQL implements the graphql.Marshaler interface
func (l Label) MarshalGQL(w io.Writer) {
- w.Write([]byte(`"` + l.String() + `"`))
+ _, _ = w.Write([]byte(`"` + l.String() + `"`))
}
func (l Label) Validate() error {