Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xcodeproj/internal/xcschemes/xcschemes.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ def _env_value(value, *, enabled = True):
checked in the scheme. An unchecked checkbox means Xcode won't
include that environment variable when running a target.
"""
if not value:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to adjust the tests for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was not covered by unit tests so I add added a new suite with a couple tests. Let me know if this is what you had in mind.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brentleyjones quick reminder.

if not value and value != "":
fail("""
`value` must be provided to `xcschemes.env_value`.
""")
Expand Down