mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 17:25:21 +00:00
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 fileName = fileComponents
|
||||
.slice(fileComponents.length - depthFromEnd)
|
||||
.join(path.sep);
|
||||
.join('/');
|
||||
|
||||
return { [fileName]: content };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user