Skip to content

Commit 77515e1

Browse files
Update lib/config.module.ts
Co-authored-by: Micael Levi L. Cavalcante <micalevisk@gmail.com>
1 parent 8d9e2d1 commit 77515e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class ConfigModule {
8888
}
8989

9090
const isConfigToLoad = options.load && options.load.length;
91-
const configFactory = options.load ? await Promise.all(options.load.map((configFactory) => configFactory)) : [];
91+
const configFactory = await Promise.all(options.load || []);
9292
const providers = configFactory
9393
.map(factory =>
9494
createConfigProvider(factory as ConfigFactory & ConfigFactoryKeyHost),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy