Skip to content

Commit eacef31

Browse files
committed
Prettier
1 parent fd97a71 commit eacef31

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/extension.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
function trimName(name) {
3535
return name
3636
.replace(/[-:—|].+$/, '')
37-
.replace(/(extension|chrome extension|browser extension|for chrome|for google chrome)$/i, '');
37+
.replace(
38+
/(extension|chrome extension|browser extension|for chrome|for google chrome)$/i,
39+
'',
40+
);
3841
}
3942
4043
function toggleExtension() {

0 commit comments

Comments
 (0)