Files
renovate/lib/config/migrations/custom/dry-run-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

15 lines
335 B
TypeScript

import { AbstractMigration } from '../base/abstract-migration.ts';
export class DryRunMigration extends AbstractMigration {
override readonly propertyName = 'dryRun';
override run(value: unknown): void {
if (value === true) {
this.rewrite('full');
}
if (value === false) {
this.rewrite(null);
}
}
}