diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-11 09:07:36 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 09:07:36 +1000 |
commit | 7d862785073599b7887332a07d37f0ca4b867f7a (patch) | |
tree | 8385dd17ad40ce7ca2cef96e03171ca257e97675 /pkg/commands/os_windows.go | |
parent | 7f4371ad71247d64249299b390725f073e7fbfad (diff) | |
parent | 985196f5aa2fd0ef23e6a6aee93f7600f5aef63d (diff) |
Merge pull request #274 from sascha-andres/masterv0.2.2
fix: escape quote character on Linux
Diffstat (limited to 'pkg/commands/os_windows.go')
-rw-r--r-- | pkg/commands/os_windows.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkg/commands/os_windows.go b/pkg/commands/os_windows.go index 1658e5f36..8fa9ce1c2 100644 --- a/pkg/commands/os_windows.go +++ b/pkg/commands/os_windows.go @@ -2,9 +2,10 @@ package commands func getPlatform() *Platform { return &Platform{ - os: "windows", - shell: "cmd", - shellArg: "/c", - escapedQuote: `\"`, + os: "windows", + shell: "cmd", + shellArg: "/c", + escapedQuote: `\"`, + fallbackEscapedQuote: "\\'", } } |