From 8ddc4e42cd7fb55a0805c1d9910b91c8ba38f6bd Mon Sep 17 00:00:00 2001 From: allohamora Date: Tue, 12 Sep 2023 22:29:17 +0300 Subject: [PATCH] style: apply lint:fix --- src/env/env.picker.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/env/env.picker.ts b/src/env/env.picker.ts index fced1b3..b56cdd3 100644 --- a/src/env/env.picker.ts +++ b/src/env/env.picker.ts @@ -23,13 +23,19 @@ export const wrapInEnvPickers = => { - return Object.keys(config).reduce((result, key) => { - return { ...result, [key]: new EnvPicker(config[key], nodeEnv) }; - }, {} as WrappedInEnvPickers); + return Object.keys(config).reduce( + (result, key) => { + return { ...result, [key]: new EnvPicker(config[key], nodeEnv) }; + }, + {} as WrappedInEnvPickers, + ); }; export class EnvPicker { - constructor(private state: State, private nodeEnv: NodeEnv) {} + constructor( + private state: State, + private nodeEnv: NodeEnv, + ) {} public default(newState: NewState): EnvPicker> { this.state ??= newState;