1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

replace make

This commit is contained in:
Anthony HAMON
2018-08-27 23:20:01 +02:00
committed by Anthony HAMON
parent 8247fd69c9
commit 49b507d2ff

View File

@ -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]