aboutsummaryrefslogtreecommitdiff
path: root/src/cdp/console-buffer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdp/console-buffer.ts')
-rw-r--r--src/cdp/console-buffer.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cdp/console-buffer.ts b/src/cdp/console-buffer.ts
index c38f85e..53dd6c2 100644
--- a/src/cdp/console-buffer.ts
+++ b/src/cdp/console-buffer.ts
@@ -1,4 +1,3 @@
-
import { decodeEvent } from "./events";
export type ConsoleLevel = "log" | "info" | "warn" | "error" | "debug";
@@ -43,8 +42,7 @@ const compileTextMatcher = (pattern: string): ((text: string) => boolean) => {
try {
const re = new RegExp(pattern.slice(1, -1));
return (text) => re.test(text);
- } catch {
- }
+ } catch {}
}
return (text) => text.includes(pattern);
};