Fix precommit hook on Windows
This commit is contained in:
parent
c79a0282da
commit
d21d85a3fc
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue