diff options
author | Sascha Andres <sascha.andres@outlook.com> | 2018-09-10 10:31:15 +0200 |
---|---|---|
committer | Sascha Andres <sascha.andres@outlook.com> | 2018-09-10 10:31:15 +0200 |
commit | bb9698810d92dd1d59a0ee0e1ef192dee588036d (patch) | |
tree | 6073edf49f00c028e4f03241fd215bba073cf07f /pkg/commands/os_windows.go | |
parent | 74144e3892253f72d703e3b324fb8459a0d45369 (diff) |
refactor: move fallback to platform struct
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
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: "\\'", } } |