Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Commit 30a5379

Browse files
committed
Remove white spaces from console output
1 parent 5907102 commit 30a5379

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

boostbuild/main.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ def main() -> int:
150150
cmd, *args = cmd.split(" ")
151151
output = call_command(cmd, args)
152152

153-
if "error" in output:
153+
if "error" in output and output["error"]:
154154
print(Fore.RED + output["error"])
155-
print(Fore.WHITE + output["output"])
155+
if "output" in output and output["output"]:
156+
print(Fore.WHITE + output["output"])
156157
return 0
157158

158159

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "boostbuild"
3-
version = "0.1.10"
3+
version = "0.1.11"
44
description = "Boost is a simple build system that aims to create an interface for shell command substitution across different operative systems."
55
authors = ["David Lopez <[email protected]>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)