refac
This commit is contained in:
1 parent
73b33c3781
commit
953a8285f7
4 files changed
+42
-21
No files matched your search
@@ -25,7 +25,7 @@
|
||||
};
|
||||
|
||||
let command = '';
|
||||
$: command = prompt.split(' ')?.at(-1) ?? '';
|
||||
$: command = prompt?.split('\n').pop()?.split(' ')?.pop() ?? '';
|
||||
</script>
|
||||
|
||||
{#if ['/', '#', '@'].includes(command?.charAt(0)) || '\\#' === command.slice(0, 2)}
|
||||
|
||||
Reference in new issue
Block a user