refactor: remove extra tab

This commit is contained in:
Daylin Morgan 2022-09-23 14:41:58 -05:00
parent bcb07718fd
commit b1449d8991

View file

@ -80,8 +80,8 @@ def parse_goal(file, goal):
for line in lines[loc + 1 :]: for line in lines[loc + 1 :]:
if not line.startswith("\t"): if not line.startswith("\t"):
break break
recipe.append(line) recipe.append(f" {line.strip()}")
output.append(divider(max((len(l) for l in recipe)) + 5)) output.append(divider(max((len(l.strip()) for l in recipe))))
output.append("\n".join(recipe) + "\n") output.append("\n".join(recipe) + "\n")
else: else:
output.append(f"{ansi.b_red}ERROR{ansi.end} Failed to find goal: {goal}") output.append(f"{ansi.b_red}ERROR{ansi.end} Failed to find goal: {goal}")