Skip to content

Commit 910b850

Browse files
Normalize the whole thing
1 parent 7969a5b commit 910b850

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/git.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,9 @@ function realpathRecursive (unrealPath, debug = false) {
392392
if (isRootPath(currentPath)) {
393393
return unrealPath
394394
}
395-
let finalResult = trimPath(`${normalizePath(result)}/${remainder}`)
395+
let finalResult = trimPath(`${result}/${remainder}`)
396396
if (debug) console.log(' @@@ returning', finalResult)
397-
return finalResult
397+
return normalizePath(finalResult)
398398
}
399399

400400
function trimPath (filePath) {

0 commit comments

Comments
 (0)