Skip to content

Commit 7f3ae17

Browse files
committed
ci issue
1 parent e357541 commit 7f3ae17

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Package.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ let package = Package(
1717
// Targets are the basic building blocks of a package, defining a module or a test suite.
1818
// Targets can depend on other targets in this package and products from dependencies.
1919
.target(
20-
name: "Validation"),
20+
name: "Validation",
21+
resources: [.process("Resouces")]
22+
),
2123
.testTarget(
2224
name: "ValidationTests",
2325
dependencies: ["Validation"]),

Sources/Validation/Utilities/AutoLocalizing.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ public protocol AutoLocalizing {
66

77
public extension AutoLocalizing {
88
func callAsFunction() -> String {
9-
String(localized: rawValue, bundle: Module.bundle)
9+
String(localized: rawValue, bundle: .module)
1010
}
1111
}
12-
13-
private enum Module {
14-
static let bundle = Bundle.module
15-
}
16-

0 commit comments

Comments
 (0)