Skip to content

Commit 8129c74

Browse files
committed
🎨 remove blank line from logs
1 parent 30b531c commit 8129c74

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/vuegen/config_manager.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _create_component_config_fromfile(self, file_path: Path) -> Dict[str, str]:
145145
component_config["component_type"] = r.ComponentType.MARKDOWN.value
146146
else:
147147
self.logger.error(
148-
f"Unsupported file extension: {file_ext}. Skipping file: {file_path}\n"
148+
f"Unsupported file extension: {file_ext}. Skipping file: {file_path}"
149149
)
150150
return None
151151

@@ -227,6 +227,9 @@ def _create_subsect_config_fromdir(
227227
continue
228228
# Add component config to list
229229
components.append(component_config)
230+
# ! if folder go into folder and pull files out?
231+
# nesting level already at point 2
232+
# loop of components in a folder
230233

231234
subsection_config = {
232235
"title": self._create_title_fromdir(subsection_dir_path.name),
@@ -313,7 +316,7 @@ def create_yamlconfig_fromdir(
313316
sorted_sections = self._sort_paths_by_numprefix(list(base_dir_path.iterdir()))
314317

315318
main_section_config = {
316-
"title": self._create_title_fromdir("home_components"),
319+
"title": "", # self._create_title_fromdir("home_components"),
317320
"description": "Components added to homepage.",
318321
"components": [],
319322
}

0 commit comments

Comments
 (0)