Skip to content

Commit 616552a

Browse files
committed
Lint
Signed-off-by: Brentley Jones <[email protected]>
1 parent 77caf74 commit 616552a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

xcodeproj/internal/xcodeproj_runner.bzl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,6 @@ load(":collections.bzl", "uniq")
66
load(":execution_root.bzl", "write_execution_root_file")
77
load(":providers.bzl", "XcodeProjRunnerOutputInfo")
88

9-
def _get_xcode_product_version(*, xcode_config):
10-
raw_version = str(xcode_config.xcode_version())
11-
if not raw_version:
12-
fail("""\
13-
`xcode_config.xcode_version` was not set. This is a bazel bug. Try again.
14-
""")
15-
16-
version_components = raw_version.split(".")
17-
if len(version_components) < 4:
18-
# This will result in analysis cache misses, but it's better than
19-
# failing
20-
return raw_version
21-
22-
return version_components[3]
23-
249
def _process_extra_flags(*, attr, content, setting, config, config_suffix):
2510
extra_flags = getattr(attr, setting)[BuildSettingInfo].value
2611
if extra_flags:

0 commit comments

Comments
 (0)