mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
lint
This commit is contained in:
@ -47,7 +47,7 @@ function handle(win) {
|
||||
const songMetadata = { ...metadata, ...currentMetadata };
|
||||
|
||||
if (!songMetadata.image && songMetadata.imageSrc) {
|
||||
songMetadata.image = await getImage(songMetadata.imageSrc)
|
||||
songMetadata.image = await getImage(songMetadata.imageSrc);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
@ -38,7 +38,7 @@ const getArtist = async (win) => {
|
||||
artistName.textContent;
|
||||
}
|
||||
`
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// Fill songInfo with empty values
|
||||
@ -109,7 +109,7 @@ function cleanupArtistName(artist) {
|
||||
}
|
||||
for (const suffix of suffixesToRemove) {
|
||||
if (artist.endsWith(suffix)) {
|
||||
return artist.slice(0, -suffix.length)
|
||||
return artist.slice(0, -suffix.length);
|
||||
}
|
||||
}
|
||||
return artist;
|
||||
|
||||
Reference in New Issue
Block a user