diff options
author | Sascha Andres <sascha.andres@outlook.com> | 2018-09-10 10:10:10 +0200 |
---|---|---|
committer | Sascha Andres <sascha.andres@outlook.com> | 2018-09-10 10:10:10 +0200 |
commit | 74144e3892253f72d703e3b324fb8459a0d45369 (patch) | |
tree | da9ccb7cb23353481c24b9be5aad9f8c560ce82b /pkg/commands/os.go | |
parent | ba0cc20e228df324530f3ac6075a591dbae35bb9 (diff) |
fix: remove call to fmt.Println
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r-- | pkg/commands/os.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index af0c1be8b..fd77f21c7 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -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, '\'') { |