@codacy/analysis-runner 0.3.0 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -982,8 +982,11 @@ function formatText(result) {
982
982
  byFile.set(issue.filePath, existing);
983
983
  }
984
984
  for (const [filePath, issues] of byFile) {
985
+ const count = issues.length;
985
986
  lines.push("");
986
- lines.push(import_ansis.default.bold.white(filePath));
987
+ lines.push(
988
+ `${import_ansis.default.bold.white(filePath)} ${import_ansis.default.dim(`${count} issue${count !== 1 ? "s" : ""}`)}`
989
+ );
987
990
  for (const issue of issues) {
988
991
  if (issue.multilineContent && issue.multilineContent.length > 1) {
989
992
  formatMultilineIssue(lines, issue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/analysis-runner",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Core orchestration engine for Codacy analysis",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,11 +12,11 @@
12
12
  "cli-table3": "^0.6",
13
13
  "minimatch": "10.2.4",
14
14
  "yaml": "^2.6.0",
15
- "@codacy/tooling": "0.3.0"
15
+ "@codacy/tooling": "0.4.0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@codacy/openapi-typescript-codegen": "0.0.9",
19
- "@codacy/tools-dummy-1": "0.3.0"
19
+ "@codacy/tools-dummy-1": "0.4.0"
20
20
  },
21
21
  "license": "MIT",
22
22
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",