From db94dde11475a45a5bceafd7564c5fe3b8eacb18 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen Date: Wed, 15 Aug 2018 23:58:44 -0400 Subject: [PATCH] fix formatting --- pkg/commands/os.go | 4 ++-- 1 file 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 }