server/services/edf-tempo/index.js
Function EdfTempoService
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function EdfTempoService(gladys, serviceId) {
const dayjs = require('dayjs');
const utc = require('dayjs/plugin/utc');
const timezone = require('dayjs/plugin/timezone');
dayjs.extend(utc);