Skip to content

Commit

Permalink
chore: fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
pmb0 committed Dec 7, 2020
1 parent dfeaa03 commit 2305760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unleash/unleash.module.ts
Expand Up @@ -71,7 +71,6 @@ export class UnleashModule implements OnModuleInit {
}
}

// eslint-disable-next-line complexity
static forRoot(options: UnleashModuleOptions): DynamicModule {
const strategiesModule = UnleashStrategiesModule.registerAsync({
useFactory: (
Expand Down Expand Up @@ -124,6 +123,7 @@ export class UnleashModule implements OnModuleInit {
inject: [UNLEASH_MODULE_OPTIONS, ModuleRef],
})
const clientModule = UnleashClientModule.registerAsync({
// eslint-disable-next-line sonarjs/no-identical-functions
useFactory: (options: UnleashModuleOptions) => ({
baseURL: options.url,
appName: options.appName,
Expand Down

0 comments on commit 2305760

Please sign in to comment.