mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Merge pull request #99 from d34db4b3/master
Fix invalid path for build on windows
This commit is contained in:
@@ -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 };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user