Skip to content

Commit 56cc2f9

Browse files
committed
fix: path handling on windows
closes eXist-db#8
1 parent fcc14f7 commit 56cc2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function isSaxParserError (error) {
4343
}
4444

4545
function normalizePath (path) {
46-
return Path.normalize(isWin ? path.replace(/\\/g, '/') : path)
46+
return isWin ? Path.normalize(path).replace(/\\/g, '/') : Path.normalize(path)
4747
}
4848

4949
function createCollection (client, collection) {

0 commit comments

Comments
 (0)