Fix category sorting

main
Elbert Alias 4 years ago
parent 0a1b4b511c
commit 5796b86ba9

@ -58,8 +58,9 @@ const Wappalyzer = {
Wappalyzer.resolveImplies(resolved)
const priority = ({ technology: { categories } }) =>
categories.reduce((max, id) =>
Math.max(max, Wappalyzer.getCategory(id).priority)
categories.reduce(
(max, id) => Math.max(max, Wappalyzer.getCategory(id).priority),
0
)
return resolved