d
This commit is contained in:
@@ -4,6 +4,9 @@ def generateImports(c):
|
||||
if c.path != c.module:
|
||||
parent = c.path.split("/")[0]
|
||||
fileName = fileName.replace(f"{c.module}/src/../{c.module}", parent)
|
||||
# Для обычного модуля с окончание X учитываем такое же название podspec.
|
||||
if c.path[-1] == "X":
|
||||
fileName = fileName.replace(f"{c.module}.podspec", f"{c.module}X.podspec")
|
||||
lines = c.readFile(fileName)
|
||||
items = ["Combine", "Foundation", "UIKit"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user