frontend/src/util/FileIconResolver.js
Showing 1 of 1 total issue
Function resolve
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
function resolve(item) { for (const type of fileExtensionMappings) { if (Object.prototype.hasOwnProperty.call(type, 'type') && type.type !== item.type) { continue; }
- Read upRead up