Small improvements

This commit is contained in:
Alexander Cerutti
2019-06-18 00:03:22 +02:00
parent 96c9dfa912
commit 816f315fca
3 changed files with 14 additions and 15 deletions

View File

@@ -103,6 +103,7 @@ async function getModelFolderContents(model: string): Promise<PartitionedBundle>
)
]).then(buffers =>
// Assigning each file path to its buffer
// and discarding the empty ones
validFiles.reduce<BundleUnit>((acc, file, index) => {
if (!buffers[index].length) {
return acc;