We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd2fce7 commit 681861eCopy full SHA for 681861e
src/techui_builder/builder.py
@@ -204,7 +204,7 @@ def _get_macros(element: ObjectifiedElement):
204
if visited is None:
205
visited = set()
206
207
- current_node = JsonMap(str(screen_path.name))
+ current_node = JsonMap(str(screen_path.relative_to(self._write_directory)))
208
209
abs_path = screen_path.absolute()
210
dest_path = dest_path
@@ -262,7 +262,7 @@ def _get_macros(element: ObjectifiedElement):
262
next_file_path, dest_path, visited
263
)
264
else:
265
- child_node = JsonMap(str(file_path.name), exists=False)
+ child_node = JsonMap(str(file_path), exists=False)
266
267
child_node.macros = macro_dict
268
# TODO: make this work for only list[JsonMap]
0 commit comments