import type { RenovateConfig } from '../../types' ; import { AbstractMigration } from './abstract-migration' ; export class RenamePropertyMigration extends AbstractMigration { override readonly deprecated = true ; readonly propertyName : string ; private readonly newPropertyName : string ; constructor ( deprecatedPropertyName , newPropertyName , originalConfig , migratedConfig ) { super ( originalConfig , migratedConfig ) ; this . propertyName = deprecatedPropertyName ; this . newPropertyName = newPropertyName ; } override run ( value ) { this . setSafely ( this . newPropertyName , value ) ; } }