mod-build 3.6.56 → 3.6.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -231,7 +231,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
231
231
  throw new Error(`${xhr.statusCode}: Error while fetching TCPA`);
232
232
  }
233
233
  const responseJson = await JSON.parse(response);
234
- const finalTCPA = await company === 'Modernize' ? responseJson.tcpa.replace(/QuinStreet/g, 'Modernize') : responseJson.tcpa;
234
+ const finalTCPA = await (company === 'Modernize' || templatesData.useModernizeInTCPA) ? responseJson.tcpa.replace(/QuinStreet/g, 'Modernize') : responseJson.tcpa;
235
235
 
236
236
  templatesData.tcpaText = await finalTCPA;
237
237
 
@@ -246,7 +246,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
246
246
  if (!templatesData.doNotUseDefaultFieldConfig && !templatesData.defaultConfigCompleted) {
247
247
  await getDefaultFormFieldConfig();
248
248
  }
249
-
249
+
250
250
  if (!templatesData.tcpaText && templatesData.primary_trade) {
251
251
  await fetchTcpaFromSitegenie();
252
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.56",
3
+ "version": "3.6.57",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",