Skip to content

Commit a887257

Browse files
authored
fix(predictions): make predictions plugin init internal (#2855)
1 parent 5f14992 commit a887257

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

AmplifyPlugins/Predictions/AWSPredictionsPlugin/AWSPredictionsPlugin.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ final public class AWSPredictionsPlugin: PredictionsCategoryPlugin {
4141
}
4242
*/
4343

44-
public init() {
45-
}
44+
init() {}
4645
}
4746

4847
extension AWSPredictionsPlugin: AmplifyVersionable { }

Package.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ let predictionsTargets: [Target] = [
328328
dependencies: [
329329
.target(name: "Amplify"),
330330
.target(name: "AWSPluginsCore"),
331-
// .target(name: "CoreMLPredictionsPlugin"), TODO: Re-add
332331
.product(name: "AWSComprehend", package: "aws-sdk-swift"),
333332
.product(name: "AWSPolly", package: "aws-sdk-swift"),
334333
.product(name: "AWSRekognition", package: "aws-sdk-swift"),
@@ -337,9 +336,7 @@ let predictionsTargets: [Target] = [
337336
.product(name: "AWSTranslate", package: "aws-sdk-swift")
338337
],
339338
path: "AmplifyPlugins/Predictions/AWSPredictionsPlugin",
340-
exclude: [
341-
"Resources/Info.plist"
342-
]
339+
exclude: []
343340
),
344341
.testTarget(
345342
name: "AWSPredictionsPluginUnitTests",

0 commit comments

Comments
 (0)