summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAnthony HAMON <anthony.hamon@iadvize.com>2018-08-27 23:20:01 +0200
committerAnthony HAMON <hamon.anth@gmail.com>2018-08-29 12:03:32 +0200
commit49b507d2ff71d0ba1797695ed55be8217a3e1e6a (patch)
treeadbe2a3ab8bbd935b8d932a09051b99ca0aa1b21 /pkg
parent8247fd69c9ede8d829c83d41cfc847ce282b658a (diff)
replace make
Diffstat (limited to 'pkg')
-rw-r--r--pkg/commands/git.go2
1 files changed, 1 insertions, 1 deletions
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]