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 :]:
if not line.startswith("\t"):
break
recipe.append(line)
output.append(divider(max((len(l) for l in recipe)) + 5))
recipe.append(f" {line.strip()}")
output.append(divider(max((len(l.strip()) for l in recipe))))
output.append("\n".join(recipe) + "\n")
else:
output.append(f"{ansi.b_red}ERROR{ansi.end} Failed to find goal: {goal}")