diff --git a/build/hygiene.js b/build/hygiene.js index 57ffde6d269e35450b5913704dab9de29175fbf6..9d6756dbc86d73d465e4e8d87b0d5188162741b7 100644 --- a/build/hygiene.js +++ b/build/hygiene.js @@ -202,7 +202,7 @@ function createGitIndexVinyls(paths) { } cp.exec( - `git show ':${relativePath}'`, + process.platform === 'win32' ? `git show :${relativePath}` : `git show ':${relativePath}'`, { maxBuffer: 2000 * 1024, encoding: 'buffer' }, (err, out) => { if (err) {