mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 10:33:39 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
15 lines
335 B
TypeScript
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);
|
|
}
|
|
}
|
|
}
|