Skip to content

Commit e697f69

Browse files
authored
fix: correct ios/ files check (#17)
1 parent 63930e2 commit e697f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CapacitorPluginTools/CapacitorPluginPackage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class CapacitorPluginPackage {
9595

9696
newFiles.removeAll(where: { $0 == "ios/Plugin" || $0 == "ios/Plugin/" })
9797

98-
if newFiles.contains(where: { $0 != "ios/"}) {
98+
if !newFiles.contains(where: { $0 == "ios/"}) {
9999
newFiles.append("ios/Sources")
100100
newFiles.append("ios/Tests")
101101
}

0 commit comments

Comments
 (0)