change path.join to path.posix.join for Windows friendliness
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user