Skip to content

Commit 0586254

Browse files
committed
Allow empty string value for xcschemes.env_value
1 parent 601661d commit 0586254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xcodeproj/internal/xcschemes/xcschemes.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ def _env_value(value, *, enabled = True):
11421142
checked in the scheme. An unchecked checkbox means Xcode won't
11431143
include that environment variable when running a target.
11441144
"""
1145-
if not value:
1145+
if not value and value != "":
11461146
fail("""
11471147
`value` must be provided to `xcschemes.env_value`.
11481148
""")

0 commit comments

Comments
 (0)