From 267cf61ef9435197afa55177e7ed4b9dcd442c00 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 19 Dec 2018 17:54:00 -0500 Subject: [PATCH] Remove duplicate check in --- in_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/in_command.go b/in_command.go index 622204c..cfc50dd 100644 --- a/in_command.go +++ b/in_command.go @@ -68,7 +68,7 @@ func (c *InCommand) Run(destDir string, request InRequest) (InResponse, error) { return InResponse{}, err } - if foundTag.Release != nil && foundTag.Release != nil && foundTag.Release.Description != "" { + if foundTag.Release != nil && foundTag.Release.Description != "" { body := foundTag.Release.Description bodyPath := filepath.Join(destDir, "body") err = ioutil.WriteFile(bodyPath, []byte(body), 0644)