summaryrefslogtreecommitdiffstats
path: root/pkg/commands/loading_tags.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-11-21 21:09:14 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-21 22:07:14 +1100
commite36ee0b4f10e43734c61f537322b594a05ad20e5 (patch)
treeefdd2847277a5acbf8eef51ca92ad3f13fa860fe /pkg/commands/loading_tags.go
parent3c1322914518168374be02a78cee968cf1d13730 (diff)
give RunCommand the same input signature as fmt.Sprintf
Diffstat (limited to 'pkg/commands/loading_tags.go')
-rw-r--r--pkg/commands/loading_tags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/loading_tags.go b/pkg/commands/loading_tags.go
index 75a2d994d..ae2f0ba17 100644
--- a/pkg/commands/loading_tags.go
+++ b/pkg/commands/loading_tags.go
@@ -12,7 +12,7 @@ const semverRegex = `v?((\d+\.?)+)([^\d]?.*)`
func (c *GitCommand) GetTags() ([]*Tag, error) {
// get remote branches
- remoteBranchesStr, err := c.OSCommand.RunCommandWithOutput("git tag --list")
+ remoteBranchesStr, err := c.OSCommand.RunCommandWithOutput(`git tag --list`)
if err != nil {
return nil, err
}