We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48134bd commit dcb5657Copy full SHA for dcb5657
1 file changed
services/apps/git_integration/src/crowdgit/services/affiliation/affiliation_service.py
@@ -311,10 +311,8 @@ async def discover_affiliation_file(
311
matches = await self.find_known_file_matches(repo_path)
312
313
if len(matches) == 1:
314
- only_match = matches[0]
315
- if self.is_text_file_path(only_match):
316
- self.logger.info(f"Affiliation file: {only_match}")
317
- return only_match, ai_cost
+ self.logger.info(f"Affiliation file: {matches[0]}")
+ return matches[0], ai_cost
318
319
if len(matches) > 1:
320
candidates = matches
0 commit comments