mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 16:15:29 +00:00
Use a file with at least 1k characters for health-check
This commit is contained in:
1 parent
9237671ed0
commit
3bd98c746c
1 file changed
+1
-1
+1
-1
@@ -966,7 +966,7 @@ class ProjectCommands(AutoRegisteringGroup):
|
||||
for file_path in files:
|
||||
try:
|
||||
full_path = os.path.join(project_path, file_path)
|
||||
if os.path.getsize(full_path) > 0:
|
||||
if os.path.getsize(full_path) > 1000:
|
||||
target_file = file_path
|
||||
log.info("Found analyzable file: %s", target_file)
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user