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) ]);