Files
renovate/lib/config/migrations/custom/renovate-fork-migration.ts
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00

14 lines
419 B
TypeScript

import { isBoolean } from '@sindresorhus/is';
import { AbstractMigration } from '../base/abstract-migration.ts';
export class RenovateForkMigration extends AbstractMigration {
override readonly deprecated = true;
override readonly propertyName = 'renovateFork';
override run(value: unknown): void {
if (isBoolean(value)) {
this.setSafely('forkProcessing', value ? 'enabled' : 'disabled');
}
}
}