From 4862d244439b33a8cd33c21492f920bea8a87b4b Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Fri, 26 Apr 2019 12:03:11 +0000 Subject: [PATCH] refactor(static): remove duplicate operand make LGTM happy https://lgtm.com/projects/g/adobe/helix-cli/snapshot/f47e2db222af420ce4cd629be22abc9d83078a67/files/src/openwhisk/static.js?sort=name&dir=ASC&mode=heatmap#x522762de3c700f29:1 --- static.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static.js b/static.js index f3f1dcf9..893138c1 100644 --- a/static.js +++ b/static.js @@ -328,7 +328,7 @@ async function main({ const file = uri.normalize(entry); console.log(file); - if (blacklisted(file, allow, deny) || blacklisted(file, allow, deny)) { + if (blacklisted(file, allow, deny)) { return forbidden(); }