renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
13 lines (12 loc) • 472 B
JavaScript
import { AbstractMigration } from "../base/abstract-migration.js";
import { isBoolean } from "@sindresorhus/is";
//#region lib/config/migrations/custom/platform-commit-migration.ts
var PlatformCommitMigration = class extends AbstractMigration {
propertyName = "platformCommit";
run(value) {
if (isBoolean(value)) this.rewrite(value ? "enabled" : "disabled");
}
};
//#endregion
export { PlatformCommitMigration };
//# sourceMappingURL=platform-commit-migration.js.map