Skip to content

Commit e08b12e

Browse files
committed
removing false duplicates for platform
1 parent 1b3586d commit e08b12e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/PublicModules/PADPackageFileAnalyzer/SwiftPackageFileAnalyzer.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ private extension SwiftPackageFileAnalyzer {
176176
listOfChanges += consistent.compactMap { platformName in
177177
guard
178178
let newPlatform = new.first(where: { $0.name == platformName }),
179-
let oldPlatform = old.first(where: { $0.name == platformName })
179+
let oldPlatform = old.first(where: { $0.name == platformName }),
180+
newPlatform.description != oldPlatform.description
180181
else { return nil }
181182

182183
return "Changed from \(oldPlatform.description) to \(newPlatform.description)"

0 commit comments

Comments
 (0)