Remove duplicate check in
This commit is contained in:
@@ -68,7 +68,7 @@ func (c *InCommand) Run(destDir string, request InRequest) (InResponse, error) {
|
|||||||
return InResponse{}, err
|
return InResponse{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if foundTag.Release != nil && foundTag.Release != nil && foundTag.Release.Description != "" {
|
if foundTag.Release != nil && foundTag.Release.Description != "" {
|
||||||
body := foundTag.Release.Description
|
body := foundTag.Release.Description
|
||||||
bodyPath := filepath.Join(destDir, "body")
|
bodyPath := filepath.Join(destDir, "body")
|
||||||
err = ioutil.WriteFile(bodyPath, []byte(body), 0644)
|
err = ioutil.WriteFile(bodyPath, []byte(body), 0644)
|
||||||
|
Reference in New Issue
Block a user