manager/handleAttribute/route.js
Function routeAttribute
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function routeAttribute(setting, fatherPath, component, application) {
let files = getListFile(setting, fatherPath, application);
if (files.type === "single") {
Object.keys(files).map(function (key) {
if (key !== "type") {