We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0aeb55 commit 745ebcdCopy full SHA for 745ebcd
Sources/CapacitorPluginTools/CapacitorPluginPackage.swift
@@ -6,7 +6,6 @@ public enum CapacitorPluginError: Error {
6
case objcFileCount(Int)
7
case objcHeaderCount(Int)
8
case oldPluginMissing
9
- case updatePackageJSONFailure
10
11
public var message: String {
12
switch self {
@@ -16,8 +15,6 @@ public enum CapacitorPluginError: Error {
16
15
return "Can't find OldPlugin"
17
case .objcHeaderCount(let numberOfFiles):
18
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."
21
}
22
23
0 commit comments