diff --git a/src/wappalyzer.js b/src/wappalyzer.js index d00fc8e1d..e633667f7 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -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