Skip to content

Commit 2904b4c

Browse files
committed
chore: Prettier
1 parent b2cc3cd commit 2904b4c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/ps/commands/commands.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { PSCommands } from '@/cache';
32
import { prefix } from '@/config/ps';
43
import { permissions } from '@/ps/handlers/commands/permissions';
@@ -33,8 +32,7 @@ export const command: PSCommand = {
3332
if (permissions(command.perms, [command.name], spoofedMessage)) return true;
3433
return false;
3534
} catch (err: unknown) {
36-
if (err instanceof Error)
37-
if (!(err instanceof ChatError)) Logger.errorLog(err);
35+
if (err instanceof Error) if (!(err instanceof ChatError)) Logger.errorLog(err);
3836

3937
return false; // No need to show error responses from permissions validation
4038
}

0 commit comments

Comments
 (0)