From ab4401786ca1a8b47faa6a3e7596e717b0c365ae Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sun, 12 Jun 2022 17:39:51 -0500 Subject: [PATCH] Fix test choking on verbiage --- helpers/listing-page.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helpers/listing-page.js b/helpers/listing-page.js index 7809452..34e5df1 100644 --- a/helpers/listing-page.js +++ b/helpers/listing-page.js @@ -20,7 +20,9 @@ function makeTitle ( listing ) { } function makeDescription ( listing ) { - return `Latest reported support status of ${ listing.name } on Apple Silicon and ${ global.$config.processorsVerbiage } Processors.` + const processorsVerbiage = process.env.npm_package_config_verbiage_processors || this.$config.processorsVerbiage + + return `Latest reported support status of ${ listing.name } on Apple Silicon and ${ processorsVerbiage } Processors.` } function convertYoutubeImageUrl ( stringWithUrls, extension ) {