Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsilverstein committed Dec 3, 2024
1 parent a322d9b commit 30ab75c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/js/wappalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ const Wappalyzer = {
.flat(),
].find(({ name: _name }) => name === _name),

getCategory: (id) => {
for (const category of Wappalyzer.categories) {
if (category.id == id) {
return category;
}
getCategory: (id) => {
for (const category of Wappalyzer.categories) {
if (category.id === id) {
return category
}
return null;
},

}
return null
},

/**
* Resolve promises for implied technology.
* @param {Array} detections
Expand Down

0 comments on commit 30ab75c

Please sign in to comment.