refactor: simplify arrow functions (#12057)
This commit is contained in:

committed by
Chuck Jazdzewski

parent
6f7ed32154
commit
0528dcb9dc
@ -333,7 +333,5 @@ function buildConfiguration(type, target, required) {
|
||||
var conf = CIconfiguration[item][type];
|
||||
return conf.required === required && conf.target === target;
|
||||
})
|
||||
.map((item) => {
|
||||
return target + '_' + item.toUpperCase();
|
||||
});
|
||||
.map((item) => target + '_' + item.toUpperCase());
|
||||
}
|
||||
|
Reference in New Issue
Block a user