Skip to content

Commit

Permalink
Fix duplicate log prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Apr 29, 2024
1 parent c66d7e1 commit 2fb05de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class ShortcutPreview {
preview = document.querySelector<HTMLDivElement>(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 = '';
Expand Down

0 comments on commit 2fb05de

Please sign in to comment.