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

Commit 5907102

Browse files
committed
Fix storage not recognising command errors
1 parent 2efb158 commit 5907102

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boostbuild/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def get_storage(boost_data: dict, variables: List[str]) -> dict:
9393
boost_data["vars"][clean_var].replace("exec ", "").split(" ")
9494
)
9595
cmd_output = call_command(cmd, args)
96-
if "error" in cmd_output:
96+
if "error" in cmd_output and cmd_output["error"]:
9797
return cmd_output
9898
value = cmd_output["output"]
9999
else:

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.9"
3+
version = "0.1.10"
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)