From 3033acadbb5c15d281f3a64018b98737e987c38d Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Thu, 3 Nov 2022 14:57:46 +0100 Subject: [PATCH] remove log --- packages/core/pattern.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/core/pattern.mjs b/packages/core/pattern.mjs index 812edf58..0214ce41 100644 --- a/packages/core/pattern.mjs +++ b/packages/core/pattern.mjs @@ -1545,10 +1545,7 @@ export function pure(value) { export function isPattern(thing) { // thing?.constructor?.name !== 'Pattern' // <- this will fail when code is mangled - if (!thing) { - console.log('no thing', thing); - } - const is = thing instanceof Pattern || thing._Pattern; + const is = thing instanceof Pattern || thing?._Pattern; if (!thing instanceof Pattern) { console.warn( `Found Pattern that fails "instanceof Pattern" check.