diff options
author | Tommy Nguyen <remyabel@gmail.com> | 2018-08-15 23:58:44 -0400 |
---|---|---|
committer | Tommy Nguyen <remyabel@gmail.com> | 2018-08-15 23:58:44 -0400 |
commit | db94dde11475a45a5bceafd7564c5fe3b8eacb18 (patch) | |
tree | 7d510efa9ed0e80a0bcf743682dc4f338815ef4a | |
parent | ee4660af97a6da7fcb0a17474a9a6d70d0d7df0b (diff) |
fix formatting
-rw-r--r-- | pkg/commands/os.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index 9ccdebc56..c23b48c82 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -171,7 +171,7 @@ func (c *OSCommand) PrepareSubProcess(cmdName string, commandArgs ...string) (*e // Quote wraps a message in platform-specific quotation marks func (c *OSCommand) Quote(message string) string { - r := regexp.MustCompile("`") - message = r.ReplaceAllString(message, "\\`") + r := regexp.MustCompile("`") + message = r.ReplaceAllString(message, "\\`") return c.Platform.escapedQuote + message + c.Platform.escapedQuote } |