Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzhi-Ding committed Jan 10, 2025
1 parent ef89bdc commit d044d2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Foreign Affairs.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ async function scrape(doc, url = doc.location.href) {
}

var tags = doc.querySelectorAll(
'a[href^="/regions/"].text-decoration-none, ' +
'a[href^="/topics/"].text-decoration-none, ' +
'a[href^="/tags/"].text-decoration-none'
);
'a[href^="/regions/"].text-decoration-none, '
+ 'a[href^="/topics/"].text-decoration-none, '
+ 'a[href^="/tags/"].text-decoration-none'
);
for (let tag of tags) {
item.tags.push(tag.textContent);
}
Expand Down

0 comments on commit d044d2a

Please sign in to comment.