Skip to content

Commit

Permalink
Merge pull request #114 from Wikiwix/fix-escaping
Browse files Browse the repository at this point in the history
Switch to double quotes for escaping
  • Loading branch information
MichaelCurrin authored Nov 3, 2024
2 parents ec6a698 + 31c4c28 commit 0fd1754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const exec = util.promisify(_exec);

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

const DIFF_INDEX_CMD = "diff-index";
const DIFF_INDEX_OPTIONS = [
Expand Down

0 comments on commit 0fd1754

Please sign in to comment.