@codacy/tools-markdownlint-0 0.1.0 → 0.1.1

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 +7 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -883,9 +883,7 @@ var adapter = {
883
883
  const startedAt = /* @__PURE__ */ new Date();
884
884
  const issues = [];
885
885
  const errors = [];
886
- const absoluteFiles = ctx.targetFiles.map(
887
- (f) => import_path.default.resolve(ctx.repositoryRoot, f)
888
- );
886
+ const absoluteFiles = ctx.targetFiles.map((f) => import_path.default.resolve(ctx.repositoryRoot, f));
889
887
  if (absoluteFiles.length === 0) {
890
888
  const completedAt2 = /* @__PURE__ */ new Date();
891
889
  return buildResult(startedAt, completedAt2, issues, errors, ctx.targetFiles.length);
@@ -972,7 +970,12 @@ var adapter = {
972
970
  });
973
971
  }
974
972
  const completedAt = /* @__PURE__ */ new Date();
975
- ctx.logger.info("Analysis complete", { toolId: TOOL_ID, issueCount: issues.length, errorCount: errors.length, durationMs: Date.now() - startMs });
973
+ ctx.logger.info("Analysis complete", {
974
+ toolId: TOOL_ID,
975
+ issueCount: issues.length,
976
+ errorCount: errors.length,
977
+ durationMs: Date.now() - startMs
978
+ });
976
979
  return buildResult(startedAt, completedAt, issues, errors, ctx.targetFiles.length);
977
980
  }
978
981
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/tools-markdownlint-0",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "markdownlint adapter — Library-mode Markdown linter",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "dependencies": {
11
11
  "markdownlint": "^0.37.4",
12
- "@codacy/tooling": "0.1.0"
12
+ "@codacy/tooling": "0.1.1"
13
13
  },
14
14
  "license": "MIT",
15
15
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",