From ae1b9d4b1ad395b950b4b9f3c3ae052050d4a10d Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Tue, 16 Jun 2020 11:05:24 +1000 Subject: [PATCH] Return null if CPE is not defined --- src/wappalyzer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wappalyzer.js b/src/wappalyzer.js index 0777df65d..250728995 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -247,8 +247,8 @@ const Wappalyzer = { name: value })), icon: icon || 'default.svg', - website: website || '', - cpe + website: website || null, + cpe: cpe || null }) return technologies