From 49b507d2ff71d0ba1797695ed55be8217a3e1e6a Mon Sep 17 00:00:00 2001 From: Anthony HAMON Date: Mon, 27 Aug 2018 23:20:01 +0200 Subject: [PATCH] replace make --- pkg/commands/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 25cde40a1..d02d75b4f 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -80,7 +80,7 @@ func includes(array []string, str string) bool { func (c *GitCommand) GetStatusFiles() []File { statusOutput, _ := c.GitStatus() statusStrings := utils.SplitLines(statusOutput) - files := make([]File, 0) + files := []File{} for _, statusString := range statusStrings { change := statusString[0:2]