Skip to content

Commit

Permalink
fix ENV variable setter (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
pariksheet authored Sep 11, 2024
1 parent b2052df commit b9cfcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brickflow/cli/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def callback(
value: Any,
) -> None:
# pylint: disable=unused-argument
if value is not None:
if value is not None and len(value) > 0:
_ilog.info("Setting env var: %s to %s...", env_var, value)
if isinstance(value, list):
os.environ[env_var] = ",".join(value)
Expand Down

0 comments on commit b9cfcf3

Please sign in to comment.