diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-21 21:09:14 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-21 22:07:14 +1100 |
commit | e36ee0b4f10e43734c61f537322b594a05ad20e5 (patch) | |
tree | efdd2847277a5acbf8eef51ca92ad3f13fa860fe /pkg/commands/loading_remotes.go | |
parent | 3c1322914518168374be02a78cee968cf1d13730 (diff) |
give RunCommand the same input signature as fmt.Sprintf
Diffstat (limited to 'pkg/commands/loading_remotes.go')
-rw-r--r-- | pkg/commands/loading_remotes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/loading_remotes.go b/pkg/commands/loading_remotes.go index c33eb1d37..d44d4c713 100644 --- a/pkg/commands/loading_remotes.go +++ b/pkg/commands/loading_remotes.go @@ -9,7 +9,7 @@ import ( func (c *GitCommand) GetRemotes() ([]*Remote, error) { // get remote branches - remoteBranchesStr, err := c.OSCommand.RunCommandWithOutput("git for-each-ref --format='%(refname:strip=2)' refs/remotes") + remoteBranchesStr, err := c.OSCommand.RunCommandWithOutput(`git for-each-ref --format='%(refname:strip=2)' refs/remotes`) if err != nil { return nil, err } |