mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 01:50:44 -06:00
refactor: remove extra tab
This commit is contained in:
parent
bcb07718fd
commit
b1449d8991
1 changed files with 2 additions and 2 deletions
|
@ -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}")
|
||||||
|
|
Loading…
Reference in a new issue