From 6684f3fce6e90fd0574d7bab63b629554ab03ef6 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Nov 2024 13:31:50 +0000 Subject: Prettified Code! --- webAO/client/isAudio.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'webAO/client/isAudio.ts') diff --git a/webAO/client/isAudio.ts b/webAO/client/isAudio.ts index 430f543..52e53a1 100644 --- a/webAO/client/isAudio.ts +++ b/webAO/client/isAudio.ts @@ -1,6 +1,6 @@ export const isAudio = (trackname: string) => { - const audioEndings = [".wav", ".mp3", ".ogg", ".opus"]; - return ( - audioEndings.filter((ending) => trackname.endsWith(ending)).length === 1 - ); -} \ No newline at end of file + const audioEndings = [".wav", ".mp3", ".ogg", ".opus"]; + return ( + audioEndings.filter((ending) => trackname.endsWith(ending)).length === 1 + ); +}; -- cgit