From e7fff2529ce7243d3d1b690d2ce553dd0de040ec Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Thu, 24 Dec 2020 13:30:13 +1100 Subject: [PATCH] fix lint error --- pkg/commands/gitconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/gitconfig.go b/pkg/commands/gitconfig.go index ed31f6f29..dbe72c570 100644 --- a/pkg/commands/gitconfig.go +++ b/pkg/commands/gitconfig.go @@ -36,7 +36,7 @@ import ( // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. func getGitConfigValue(key string) (string, error) { - gitArgs := append([]string{"config", "--get", "--null", key}) + gitArgs := []string{"config", "--get", "--null", key} var stdout bytes.Buffer cmd := secureexec.Command("git", gitArgs...) cmd.Stdout = &stdout