Skip to content

Commit b3e58e6

Browse files
committed
Ignore domains without images
1 parent b6d74f4 commit b3e58e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/build_findings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function diagHasLivePath(diag) {
140140
if (live) { score+=1; reasons.push("LIVE"); }
141141
if (liveViaPath) { reasons.push("PATH"); }
142142

143-
if (img != null && img < phashThr) {
143+
if (!img || img < phashThr) {
144144
score = 0;
145145
reasons = [];
146146
}

0 commit comments

Comments
 (0)