Skip to content

Commit 7190764

Browse files
committed
🐛 remove duplication due to merge
1 parent fd21491 commit 7190764

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/vuegen/config_manager.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -285,22 +285,12 @@ def _create_sect_config_fromdir(
285285
)
286286
if component_config is not None:
287287
components.append(component_config)
288-
else:
289-
file_in_subsection_dir = (
290-
subsection_dir # ! maybe take more generic names?
291-
)
292-
component_config = self._create_component_config_fromfile(
293-
file_in_subsection_dir
294-
)
295-
if component_config is not None:
296-
components.append(component_config)
297288

298289
section_config = {
299290
"title": self._create_title_fromdir(section_dir_path.name),
300291
"description": self._read_description_file(section_dir_path),
301292
"subsections": subsections,
302293
"components": components,
303-
"components": components,
304294
}
305295
return section_config
306296

0 commit comments

Comments
 (0)