From 16a9ebcd5c04185ead8ec7af6dca573f13e42d1b Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sun, 9 Jun 2019 11:48:25 +0200 Subject: [PATCH] Renamed model in bundle --- src/factory.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/factory.ts b/src/factory.ts index 0e817d6..ec19976 100644 --- a/src/factory.ts +++ b/src/factory.ts @@ -16,11 +16,8 @@ export async function createPass(options: FactoryOptions): Promise { throw new Error("Unable to create Pass: no options were passed"); } - // Voglio leggere i certificati - // Voglio leggere il model (se non รจ un oggetto) - try { - const [model, certificates] = await Promise.all([ + const [bundle, certificates] = await Promise.all([ getModelContents(options.model), readCertificatesFromOptions(options.certificates) ]);