@codacy/codacy-mcp 0.5.1 → 0.5.2

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.
@@ -30,8 +30,9 @@ const ensureCodacyCLI = async () => {
30
30
  };
31
31
  // Check if .codacy/codacy.yaml exists and initialize if needed
32
32
  const ensureCodacyConfig = async (rootPath, provider, organization, repository) => {
33
- const configPath = path.join(rootPath, '.codacy', 'codacy.yaml');
34
- if (fs.existsSync(configPath)) {
33
+ const extensions = ['yaml', 'yml'];
34
+ const configExists = extensions.some(ext => fs.existsSync(path.join(rootPath, '.codacy', `codacy.${ext}`)));
35
+ if (configExists) {
35
36
  return true;
36
37
  }
37
38
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/codacy-mcp",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Codacy MCP server",
5
5
  "license": "MIT",
6
6
  "author": "Codacy",