Skip to content

Commit

Permalink
Correct cur_path_key in __unique_package_[reference/product_dependency]
Browse files Browse the repository at this point in the history
  • Loading branch information
JanNash committed Nov 12, 2020
1 parent 8a8e0dd commit 46efb8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xUnique.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def __unique_build_configuration(self, parent_hex, build_configuration_hex):
def __unique_package_reference(self, parent_hex, package_reference_hex):
"""XCRemoteSwiftPackageReference"""
self.vprint('uniquify XCRemoteSwiftPackageReference')
cur_path_key = 'isa'
cur_path_key = 'repositoryURL'
self.__set_to_result(parent_hex, package_reference_hex, cur_path_key)

def __unique_target(self, target_hex):
Expand Down Expand Up @@ -443,7 +443,7 @@ def __unique_target_dependency(self, parent_hex, target_dependency_hex):
def __unique_package_product_dependency(self, parent_hex, package_product_dependency_hex):
"""XCSwiftPackageProductDependency"""
self.vprint('uniquify XCSwiftPackageProductDependency')
cur_path_key = 'isa'
cur_path_key = 'productName'
self.vprint(package_product_dependency_hex)
self.__set_to_result(parent_hex, package_product_dependency_hex, cur_path_key)

Expand Down

0 comments on commit 46efb8f

Please sign in to comment.