Skip to content

Commit

Permalink
style: fix formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Mysliwiec <mail@kamilmysliwiec.com>
  • Loading branch information
micalevisk and kamilmysliwiec authored Sep 18, 2023
1 parent 8e2e4c0 commit 6d1caf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/configuration/nest-configuration.loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ export class NestConfigurationLoader implements ConfigurationLoader {
public async load(name?: string): Promise<Required<Configuration>> {
const cacheEntryKey = `${this.reader.constructor.name}:${name}`;
const cachedConfig = loadedConfigsCache.get(cacheEntryKey);
if (cachedConfig) return cachedConfig;
if (cachedConfig) {
return cachedConfig;
}

let loadedConfig: Required<Configuration> | undefined;

Expand Down

0 comments on commit 6d1caf2

Please sign in to comment.