Merge pull request #99 from d34db4b3/master

Fix invalid path for build on windows
This commit is contained in:
Alexander Cerutti
2021-12-27 19:31:16 +01:00
committed by GitHub

View File

@@ -107,7 +107,7 @@ function getObjectFromModelFile(
const fileComponents = filePath.split(path.sep); const fileComponents = filePath.split(path.sep);
const fileName = fileComponents const fileName = fileComponents
.slice(fileComponents.length - depthFromEnd) .slice(fileComponents.length - depthFromEnd)
.join(path.sep); .join('/');
return { [fileName]: content }; return { [fileName]: content };
} }