This commit is contained in:
Evgenii Korolevskii 2022-09-21 15:14:01 +03:00
parent 1f2c90bb99
commit cc76dfab99

View File

@ -86,16 +86,12 @@ function writeFeedToFile(
core.debug(`Found a URL with key ${key}`); core.debug(`Found a URL with key ${key}`);
} }
}); });
} else { } else if (
if ( packageSources['@_value'].toLowerCase().includes(feedUrl.toLowerCase())
packageSources['@_value'] ) {
.toLowerCase() const key = packageSources['@_key'];
.includes(feedUrl.toLowerCase()) sourceKeys.push(key);
) { core.debug(`Found a URL with key ${key}`);
const key = packageSources['@_key'];
sourceKeys.push(key);
core.debug(`Found a URL with key ${key}`);
}
} }
} }
} }