style: auto format

This commit is contained in:
github-actions[bot]
2023-11-14 12:32:34 +00:00
parent f022d273be
commit affbabb937
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -43,10 +43,10 @@ module.exports = async (ctx) => {
item.catalogNs.mappings && item.catalogNs.mappings.length > 0
? item.catalogNs.mappings[0].pageSlug
: item.offerMappings && item.offerMappings.length > 0
? item.offerMappings[0].pageSlug
: item.productSlug
? item.productSlug
: item.urlSlug;
? item.offerMappings[0].pageSlug
: item.productSlug
? item.productSlug
: item.urlSlug;
link += linkSlug;
contentUrl += linkSlug;
let description = item.description;
+4 -4
View File
@@ -27,10 +27,10 @@ const fetchDesc = (list, browser, tryGet) =>
const content = $('.news-article-content--featured').length
? $('.news-article-content--featured').html()
: $('.news-article-content').length
? $('.news-article-content').html()
: $('.info-panel__formats a.btn__request-access').length || $('.info-panel__formats a.btn--access').length
? ''
: $('section#bodymatter').html();
? $('.news-article-content').html()
: $('.info-panel__formats a.btn__request-access').length || $('.info-panel__formats a.btn--access').length
? ''
: $('section#bodymatter').html();
item.description = art(path.join(__dirname, 'templates/article.art'), {
abs: abstract,