apps/meteor/server/startup/migrations/xrun.ts
Function moveRetentionSetting
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const moveRetentionSetting = async () => {
const convertDaysToMs = (days: number) => days * 24 * 60 * 60 * 1000;
const promises: Array<Promise<UpdateResult>> = [];
await Settings.find(