1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-21 12:16:54 +02:00

fix lint error

This commit is contained in:
Jesse Duffield 2020-12-24 13:30:13 +11:00
parent 78867647d1
commit e7fff2529c

View File

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