@codacy/tools-cppcheck-2 0.2.1 → 0.3.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.
- package/dist/index.js +5 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3621,6 +3621,11 @@ var adapter = {
|
|
|
3621
3621
|
];
|
|
3622
3622
|
if (codacyConfig.useLocalConfigurationFile && codacyConfig.localConfigurationFile) {
|
|
3623
3623
|
args.push(`--suppressions-list=${codacyConfig.localConfigurationFile}`);
|
|
3624
|
+
} else if (codacyConfig.patterns.length === 0) {
|
|
3625
|
+
ctx.logger.info("Skipping analysis: no local config and no patterns enabled", {
|
|
3626
|
+
toolId: TOOL_ID
|
|
3627
|
+
});
|
|
3628
|
+
return buildResult(startedAt, /* @__PURE__ */ new Date(), issues, errors, ctx.targetFiles.length);
|
|
3624
3629
|
}
|
|
3625
3630
|
args.push(...absoluteFiles);
|
|
3626
3631
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codacy/tools-cppcheck-2",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Cppcheck adapter — CLI-mode C/C++ static analyzer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"fast-xml-parser": "^5.5.6",
|
|
12
|
-
"@codacy/tooling": "0.
|
|
12
|
+
"@codacy/tooling": "0.3.0"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": "Codacy <support@codacy.com> (https://www.codacy.com)",
|