1
0
mirror of synced 2025-12-21 19:06:49 -05:00

change path.join to path.posix.join for Windows friendliness

This commit is contained in:
Sarah Schneider
2021-01-19 14:47:45 -05:00
parent 4545ffd3e9
commit 02e95f583a
7 changed files with 47870 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ function getNewVersionedPath (oldPath, languageCode = '') {
const restOfString = oldPath.replace(patterns.oldEnterprisePath, '')
// Add the language and new version to the product part of the string
return path.join('/', languageCode, newVersion, restOfString)
return path.posix.join('/', languageCode, newVersion, restOfString)
}
module.exports = {