@codacy/tools-reek-6 0.2.1 → 0.2.3
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.
- package/dist/index.js +5 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -775,6 +775,11 @@ var adapter = {
|
|
|
775
775
|
const useLocal = codacyConfig.useLocalConfigurationFile && codacyConfig.localConfigurationFile;
|
|
776
776
|
if (useLocal) {
|
|
777
777
|
args.push("--config", codacyConfig.localConfigurationFile);
|
|
778
|
+
} else if (codacyConfig.patterns.length === 0) {
|
|
779
|
+
ctx.logger.info("Skipping analysis: no local config and no patterns enabled", {
|
|
780
|
+
toolId: TOOL_ID
|
|
781
|
+
});
|
|
782
|
+
return buildResult(startedAt, /* @__PURE__ */ new Date(), issues, errors, ctx.targetFiles.length);
|
|
778
783
|
}
|
|
779
784
|
args.push(...absoluteFiles);
|
|
780
785
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codacy/tools-reek-6",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
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.
|
|
11
|
+
"@codacy/tooling": "0.3.0"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"author": "Codacy <support@codacy.com> (https://www.codacy.com)",
|