Commit 6ce08410 authored by aniket-engg's avatar aniket-engg

linting fix

parent 99773307
...@@ -187,8 +187,8 @@ module.exports = staticAnalysisView ...@@ -187,8 +187,8 @@ module.exports = staticAnalysisView
* @param arr list of static analysis modules received from remix-analyzer module * @param arr list of static analysis modules received from remix-analyzer module
*/ */
function preProcessModules (arr) { function preProcessModules (arr) {
return arr.map((item, i) => { return arr.map((Item, i) => {
const itemObj = new item() const itemObj = new Item()
itemObj['_index'] = i itemObj['_index'] = i
itemObj.categoryDisplayName = itemObj.category.displayName itemObj.categoryDisplayName = itemObj.category.displayName
itemObj.categoryId = itemObj.category.id itemObj.categoryId = itemObj.category.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment