0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-03-12 15:26:58 +00:00
renovatebot_renovate/lib/config/migrations/custom/required-status-checks-migration.ts

12 lines
355 B
TypeScript

import { AbstractMigration } from '../base/abstract-migration';
export class RequiredStatusChecksMigration extends AbstractMigration {
override readonly deprecated = true;
override readonly propertyName = 'requiredStatusChecks';
override run(value: unknown): void {
if (value === null) {
this.setSafely('ignoreTests', true);
}
}
}