From 2fb05deeb0dff94a3ed7774568d7fa2195d9155e Mon Sep 17 00:00:00 2001 From: Brandon Jordan Date: Mon, 29 Apr 2024 19:09:25 -0400 Subject: [PATCH] Fix duplicate log prefix --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index fe4e5a1..b1b0e74 100644 --- a/src/main.ts +++ b/src/main.ts @@ -187,7 +187,7 @@ export class ShortcutPreview { preview = document.querySelector(this.selector); preview?.classList.add('sp-preview'); if (!preview) { - Log.fail(`[preview-shortcut] Selector '${this.selector}' selects nothing.`); + Log.fail(`Selector '${this.selector}' selects nothing.`); return; } preview.innerHTML = '';