mirror of
https://github.com/Microsoft/vscode
synced 2024-08-24 19:46:05 +00:00
Fix precommit hook on Windows
This commit is contained in:
parent
c79a0282da
commit
d21d85a3fc
|
@ -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