Unverified Commit 08065216 authored by greengrass821's avatar greengrass821 Committed by GitHub
Browse files

cmd: add support for escaping ~ in filepath (#10339)


Co-authored-by: default avatartooth paste <tooth_paste91@Poorneshwars-MacBook-Pro.local>
parent 88738b35
...@@ -503,6 +503,7 @@ func normalizeFilePath(fp string) string { ...@@ -503,6 +503,7 @@ func normalizeFilePath(fp string) string {
"\\\\", "\\", // Escaped backslash "\\\\", "\\", // Escaped backslash
"\\*", "*", // Escaped asterisk "\\*", "*", // Escaped asterisk
"\\?", "?", // Escaped question mark "\\?", "?", // Escaped question mark
"\\~", "~", // Escaped tilde
).Replace(fp) ).Replace(fp)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment