: Fix variable anme
This commit is contained in:
parent
2ccfbf4038
commit
4785ae7d1a
|
@ -494,9 +494,9 @@ export class Git {
|
|||
// MSYS2 Git (not Git for Windows) rev-parse returns Cygwin style path. (Git for Windows returns Windows style path with rev-parse)
|
||||
// Convert Cygwin style path -> Windows style path
|
||||
let cygpathRegex = /^\\([a-z])\\/;
|
||||
if (cygpathRegex.test(r))
|
||||
if (cygpathRegex.test(repoPath))
|
||||
{
|
||||
return r.replace(cygpathRegex, "$1:\\");
|
||||
return repoPath.replace(cygpathRegex, "$1:\\");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue