2021-11-17 08:43:55 -07:00
|
|
|
import { AbstractMigration } from '../base/abstract-migration';
|
|
|
|
|
|
|
|
export class RequiredStatusChecksMigration extends AbstractMigration {
|
2022-01-10 14:01:57 -07:00
|
|
|
override readonly deprecated = true;
|
2022-01-23 10:08:02 -07:00
|
|
|
override readonly propertyName = 'requiredStatusChecks';
|
2021-11-17 08:43:55 -07:00
|
|
|
|
2022-01-23 10:08:02 -07:00
|
|
|
override run(value: unknown): void {
|
2021-12-11 06:56:51 -07:00
|
|
|
if (value === null) {
|
|
|
|
this.setSafely('ignoreTests', true);
|
2021-11-17 08:43:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|