Renamed model in bundle

This commit is contained in:
Alexander Cerutti
2019-06-09 11:48:25 +02:00
parent 61a37eaa24
commit 16a9ebcd5c

View File

@@ -16,11 +16,8 @@ export async function createPass(options: FactoryOptions): Promise<Pass> {
throw new Error("Unable to create Pass: no options were passed"); throw new Error("Unable to create Pass: no options were passed");
} }
// Voglio leggere i certificati
// Voglio leggere il model (se non è un oggetto)
try { try {
const [model, certificates] = await Promise.all([ const [bundle, certificates] = await Promise.all([
getModelContents(options.model), getModelContents(options.model),
readCertificatesFromOptions(options.certificates) readCertificatesFromOptions(options.certificates)
]); ]);