renovate/lib/config/migrations/custom/separate-multiple-major-mig...

12 lines
301 B
TypeScript

import { AbstractMigration } from '../base/abstract-migration';
export class SeparateMultipleMajorMigration extends AbstractMigration {
override readonly propertyName = 'separateMultipleMajor';
override run(): void {
if (this.has('separateMajorReleases')) {
this.delete();
}
}
}