@codacy/tools-reek-6 0.3.7 → 0.3.9

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 +3 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -871,6 +871,9 @@ var adapter = {
871
871
  patternId,
872
872
  toolId: TOOL_ID,
873
873
  line,
874
+ // Reek reports line-level smells without a column; Issue.column is a
875
+ // required 1-based number, so default to 1.
876
+ column: 1,
874
877
  message: smell.message,
875
878
  lineContent: (0, import_tooling.getLineContent)(fileLines, line),
876
879
  category: meta.category,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/tools-reek-6",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "description": "Reek adapter — CLI-mode Ruby code smell detector",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "dependencies": {
11
- "@codacy/tooling": "0.12.0"
11
+ "@codacy/tooling": "0.14.0"
12
12
  },
13
13
  "license": "MIT",
14
14
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",