Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cod17828 committed Dec 12, 2024
1 parent c6dff49 commit f4990c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions edsdme/scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ function getPartnerLevelParams(portal) {
return partnerLevel ? `(${partnerTagBase}${partnerLevel}"+OR+${partnerTagBase}public")` : `(${partnerTagBase}public")`;
}


function extractTableCollectionTags(el) {
let tableCollectionTags = [];
Array.from(el.children).forEach((row) => {
Expand All @@ -328,7 +327,7 @@ function extractTableCollectionTags(el) {
if (rowTitle === 'collection-tags') {
const [collectionTagsEl] = colsContent;
const collectionTags = Array.from(collectionTagsEl.querySelectorAll('li'), (li) => `"${li.textContent.trim().toLowerCase()}"`);
const filtered = collectionTags.filter(tag => !tag.includes("caas:adobe-partners/cpp/region/"));
const filtered = collectionTags.filter((tag) => !tag.includes('caas:adobe-partners/cpp/region/'));
tableCollectionTags = [...tableCollectionTags, ...filtered];
}
});
Expand Down

0 comments on commit f4990c9

Please sign in to comment.