1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-04 03:48:07 +02:00

fix formatting

This commit is contained in:
Tommy Nguyen 2018-08-15 23:58:44 -04:00
parent ee4660af97
commit db94dde114

View File

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