1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-28 09:08:41 +02:00

fix: remove call to fmt.Println

This commit is contained in:
Sascha Andres 2018-09-10 10:10:10 +02:00
parent ba0cc20e22
commit 74144e3892

View File

@ -2,7 +2,6 @@ package commands
import (
"errors"
"fmt"
"os"
"os/exec"
"strings"
@ -140,7 +139,6 @@ func (c *OSCommand) PrepareSubProcess(cmdName string, commandArgs ...string) *ex
// Quote wraps a message in platform-specific quotation marks
func (c *OSCommand) Quote(message string) string {
fmt.Println(c.Platform.os)
message = strings.Replace(message, "`", "\\`", -1)
if c.Platform.os == "linux" {
if strings.ContainsRune(message, '\'') {