mirror of https://github.com/renovatebot/renovate
15 lines
332 B
TypeScript
15 lines
332 B
TypeScript
import { AbstractMigration } from '../base/abstract-migration';
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|