We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d20766b commit 77d8335Copy full SHA for 77d8335
nix_tree/decomposer.py
@@ -301,6 +301,8 @@ def __managing_the_rest_of_the_file(self) -> None:
301
for phrase_itr in range(equals_locations[iterator.equals_number][1] + place_to_check + 4, len(rest_of_file_without_lines)):
302
if rest_of_file_split[phrase_itr] == "];":
303
break
304
+ if re.search(r"^\s*$", rest_of_file_split[phrase_itr]):
305
+ continue
306
in_the_brackets.append(f"({rest_of_file_split[equals_locations[iterator.equals_number][1] + place_to_check + 1]}"
307
f").{rest_of_file_split[phrase_itr]}")
308
self.__tree.add_branch(f"{iterator.prepend}[ {' '.join(in_the_brackets)} ]")
0 commit comments