mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 21:25:26 +00:00
Fixed problem with buffer models
This commit is contained in:
@@ -149,7 +149,8 @@ export function getModelBufferContents(model: BundleUnit): PartitionedBundle {
|
|||||||
const rawBundle = removeHidden(Object.keys(model)).reduce<BundleUnit>((acc, current) => {
|
const rawBundle = removeHidden(Object.keys(model)).reduce<BundleUnit>((acc, current) => {
|
||||||
// Checking if current file is one of the autogenerated ones or if its
|
// Checking if current file is one of the autogenerated ones or if its
|
||||||
// content is not available
|
// content is not available
|
||||||
if (/(manifest|signature)/.test(current) || !rawBundle[current]) {
|
|
||||||
|
if (/(manifest|signature)/.test(current) || !model[current]) {
|
||||||
return acc;
|
return acc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user