import { AbstractMigration } from "../base/abstract-migration.js";
import { isArray, isString } from "@sindresorhus/is";
//#region lib/config/migrations/custom/match-managers-migration.ts
var MatchManagersMigration = class extends AbstractMigration {
	propertyName = "matchManagers";
	run(value) {
		if (!isArray(value, isString)) return;
		const newValue = value.map((manager) => manager === "regex" ? "custom.regex" : manager);
		this.rewrite(newValue);
	}
};
//#endregion
export { MatchManagersMigration };

//# sourceMappingURL=match-managers-migration.js.map