Skip to content

Commit

Permalink
fix: path handling on windows
Browse files Browse the repository at this point in the history
closes #8
  • Loading branch information
olvidalo committed May 31, 2016
1 parent fcc14f7 commit 56cc2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function isSaxParserError (error) {
}

function normalizePath (path) {
return Path.normalize(isWin ? path.replace(/\\/g, '/') : path)
return isWin ? Path.normalize(path).replace(/\\/g, '/') : Path.normalize(path)
}

function createCollection (client, collection) {
Expand Down

0 comments on commit 56cc2f9

Please sign in to comment.