diff --git a/plugins/lighthouse-backend/README.md b/plugins/lighthouse-backend/README.md index 04be817248..e2d1917f22 100644 --- a/plugins/lighthouse-backend/README.md +++ b/plugins/lighthouse-backend/README.md @@ -25,7 +25,13 @@ export default async function createPlugin(env: PluginEnvironment) { discoveryApi: env.discovery, }); - await createScheduler({ logger, scheduler, config, catalogClient, tokenManager }); + await createScheduler({ + logger, + scheduler, + config, + catalogClient, + tokenManager, + }); } ``` diff --git a/plugins/lighthouse-backend/src/config.ts b/plugins/lighthouse-backend/src/config.ts index cf52d86107..5b17bd6ec0 100644 --- a/plugins/lighthouse-backend/src/config.ts +++ b/plugins/lighthouse-backend/src/config.ts @@ -49,7 +49,7 @@ export class LighthouseAuditScheduleImpl implements TaskScheduleDefinition { ); } else if (config.has('lighthouse.schedule')) { logger.warn( - `[Deprecation] Please migrate the schedule configuration to 'lighthouse.schedule.frequency' in ${config.config.context}`, + `[Deprecation] Please migrate the schedule configuration to 'lighthouse.schedule.frequency'`, ); lighthouse.frequency = readDurationFromConfig( @@ -59,7 +59,7 @@ export class LighthouseAuditScheduleImpl implements TaskScheduleDefinition { if (config.has('lighthouse.timeout')) { logger.warn( - `[Deprecation] Please migrate the timeout configuration to 'lighthouse.schedule.timeout' in ${config.config.context}`, + `[Deprecation] Please migrate the timeout configuration to 'lighthouse.schedule.timeout'`, ); lighthouse.timeout = readDurationFromConfig(