src/platform/monitoring/DowntimeNotification/util/helpers.js
Function createServiceMap
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function createServiceMap(maintenanceWindows = []) {
const serviceMap = new Map();
// Maintenance windows should be sorted in ascending order
// so that when a single externalService has multiple upcoming