snyk 1.903.0 → 1.904.0

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.
@@ -1807,7 +1807,7 @@ var v2_1 = __webpack_require__(49041);
1807
1807
  Object.defineProperty(exports, "formatIacTestSummary", ({ enumerable: true, get: function () { return v2_1.formatIacTestSummary; } }));
1808
1808
  function getIacDisplayedOutput(iacTest, testedInfoText, meta, prefix, isNewIacOutputSupported) {
1809
1809
  return isNewIacOutputSupported
1810
- ? v2.getIacDisplayedOutput(iacTest, testedInfoText, meta, prefix)
1810
+ ? v2.getIacDisplayedOutput(iacTest, prefix)
1811
1811
  : v1.getIacDisplayedOutput(iacTest, testedInfoText, meta, prefix);
1812
1812
  }
1813
1813
  exports.getIacDisplayedOutput = getIacDisplayedOutput;
@@ -2151,7 +2151,7 @@ function formatIacIssue(issue, isNew, path) {
2151
2151
  introducedBy +
2152
2152
  '\n');
2153
2153
  }
2154
- function getIacDisplayedOutput(iacTest, testedInfoText, meta, prefix) {
2154
+ function getIacDisplayedOutput(iacTest, prefix) {
2155
2155
  const issuesTextArray = [
2156
2156
  chalk_1.default.bold.white('\nInfrastructure as code issues:'),
2157
2157
  ];
@@ -2168,10 +2168,7 @@ function getIacDisplayedOutput(iacTest, testedInfoText, meta, prefix) {
2168
2168
  if (issuesTextArray.length > 0) {
2169
2169
  issuesInfoOutput.push(issuesTextArray.join('\n'));
2170
2170
  }
2171
- let body = issuesInfoOutput.join('\n\n') + '\n\n' + meta;
2172
- const vulnCountText = `found ${issues.length} issues`;
2173
- const summary = testedInfoText + ', ' + chalk_1.default.red.bold(vulnCountText);
2174
- body = body + '\n\n' + summary;
2171
+ const body = issuesInfoOutput.join('\n\n');
2175
2172
  return prefix + body;
2176
2173
  }
2177
2174
  exports.getIacDisplayedOutput = getIacDisplayedOutput;