summaryrefslogtreecommitdiffstats
path: root/pkg/commands/loading_stash.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-11-16 20:38:26 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-11-18 08:36:19 +1100
commit682db77401e5c44de1eeeb179afd0114bfe82f72 (patch)
tree1dbdadd56b6e893550565da86fe37cb0a40be30d /pkg/commands/loading_stash.go
parent6faed08d9de2841788b1eac4077862bc4ae682f1 (diff)
fix lint errors
Diffstat (limited to 'pkg/commands/loading_stash.go')
-rw-r--r--pkg/commands/loading_stash.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/commands/loading_stash.go b/pkg/commands/loading_stash.go
index 3b79bdfb4..8d0b4a817 100644
--- a/pkg/commands/loading_stash.go
+++ b/pkg/commands/loading_stash.go
@@ -1,7 +1,6 @@
package commands
import (
- "fmt"
"regexp"
"strconv"
"strings"
@@ -26,8 +25,7 @@ func (c *GitCommand) GetStashEntries(filterPath string) []*models.StashEntry {
return c.getUnfilteredStashEntries()
}
- unescaped := fmt.Sprintf("git stash list --name-only")
- rawString, err := c.OSCommand.RunCommandWithOutput(unescaped)
+ rawString, err := c.OSCommand.RunCommandWithOutput("git stash list --name-only")
if err != nil {
return c.getUnfilteredStashEntries()
}