Removed reference to app-config file in deprecation message
Signed-off-by: Florian JUDITH <florian.judith.b@gmail.com>
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user