fix: formatting

This commit is contained in:
Cory Dransfeldt 2023-10-19 14:28:04 -07:00
parent 8250f401f5
commit 953b39dba9

View file

@ -30,9 +30,10 @@ const aliasArtist = (artist) => {
} }
const sanitizeTrack = (track) => { const sanitizeTrack = (track) => {
if (track.includes(' [')) return track.split(' [')[0] let sanitizedTrack = track
if (track.includes(' (')) return track.split(' (')[0] if (track.includes(' [')) sanitizedTrack = track.split(' [')[0]
return track if (track.includes(' (')) sanitizedTrack = track.split(' (')[0]
return sanitizedTrack
} }
export default async () => { export default async () => {