From ef4ce53dd619d922a14377aa3e8a8880dffca995 Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Thu, 11 Jul 2019 23:27:20 +0200 Subject: [PATCH] Fixed problem with buffer models --- src/parser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/parser.ts b/src/parser.ts index 535399d..bfae2ff 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -149,7 +149,8 @@ export function getModelBufferContents(model: BundleUnit): PartitionedBundle { const rawBundle = removeHidden(Object.keys(model)).reduce((acc, current) => { // Checking if current file is one of the autogenerated ones or if its // content is not available - if (/(manifest|signature)/.test(current) || !rawBundle[current]) { + + if (/(manifest|signature)/.test(current) || !model[current]) { return acc; }