Skip to content

Commit 5c5105c

Browse files
committed
fix: format ternary expression to single line in module_maps.bzl
1 parent f2568ef commit 5c5105c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

swiftpkg/internal/module_maps.bzl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ def write_module_map(
111111
elif umbrella_directory:
112112
# Umbrella directory must be absolute path
113113
abs_umbrella = (
114-
back_to_root_path + umbrella_directory
115-
if back_to_root_path
116-
else umbrella_directory
114+
back_to_root_path + umbrella_directory if back_to_root_path else umbrella_directory
117115
)
118116
content.add(abs_umbrella, format = ' umbrella "%s"')
119117
else:

0 commit comments

Comments
 (0)