added comment for the added function

This commit is contained in:
Sem Visscher
2021-03-25 21:11:55 +01:00
parent 493a5835f8
commit f253a69656

View File

@ -14,6 +14,7 @@ const defaultSettings = {
}
const cleanupArtistName = (config, artist) => {
// removes the suffixes of the artist name for more recognition by last.fm
let { suffixesToRemove } = config;
if (suffixesToRemove === undefined){
suffixesToRemove = defaultSettings.suffixesToRemove;