Skip to content

Commit 745ebcd

Browse files
authored
Remove unused error
1 parent a0aeb55 commit 745ebcd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Sources/CapacitorPluginTools/CapacitorPluginPackage.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ public enum CapacitorPluginError: Error {
66
case objcFileCount(Int)
77
case objcHeaderCount(Int)
88
case oldPluginMissing
9-
case updatePackageJSONFailure
109

1110
public var message: String {
1211
switch self {
@@ -16,8 +15,6 @@ public enum CapacitorPluginError: Error {
1615
return "Can't find OldPlugin"
1716
case .objcHeaderCount(let numberOfFiles):
1817
return "Found \(numberOfFiles) Objective-C Header files, expected \(numberOfFiles)"
19-
case .updatePackageJSONFailure:
20-
return "Writing a new package.json failed as the old plugin name could not be found."
2118
}
2219
}
2320
}

0 commit comments

Comments
 (0)