Skip to content

Commit 59a2103

Browse files
committed
adjust logs
1 parent e3f7286 commit 59a2103

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

codewiki/src/be/documentation_generator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ async def generate_module_documentation(self, components: Dict[str, Any], leaf_n
188188

189189
# rename repo_name.md to overview.md
190190
repo_overview_path = os.path.join(working_dir, f"{repo_name}.md")
191-
os.rename(repo_overview_path, os.path.join(working_dir, OVERVIEW_FILENAME))
191+
if os.path.exists(repo_overview_path):
192+
os.rename(repo_overview_path, os.path.join(working_dir, OVERVIEW_FILENAME))
192193

193194
return working_dir
194195

0 commit comments

Comments
 (0)