Skip to content

Commit 0fd1754

Browse files
Merge pull request #114 from Wikiwix/fix-escaping
Switch to double quotes for escaping
2 parents ec6a698 + 31c4c28 commit 0fd1754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const exec = util.promisify(_exec);
1111

1212
// Ensure Git will show special characters literally without quoting the string
1313
// and escaping characters.
14-
const QUOTE_PATH = "-c 'core.quotePath=false'";
14+
const QUOTE_PATH = '-c "core.quotePath=false"';
1515

1616
const DIFF_INDEX_CMD = "diff-index";
1717
const DIFF_INDEX_OPTIONS = [

0 commit comments

Comments
 (0)