Skip to content

Commit

Permalink
Merge pull request #186 from cashapp/skorulis/warnings
Browse files Browse the repository at this point in the history
Cleanup build warnings
  • Loading branch information
skorulis-ap authored Aug 14, 2024
2 parents d5b8c01 + 0c2e9d2 commit d9b7400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ let package = Package(
dependencies: [
.product(name: "Swinject", package: "Swinject"),
.product(name: "SwinjectAutoregistration", package: "SwinjectAutoregistration"),
]
],
exclude: ["ServiceCollection/Container+ServiceCollection.erb"]
),
.executableTarget(
name: "KnitCommand",
Expand Down
2 changes: 1 addition & 1 deletion Sources/KnitCodeGen/KnitDirectives.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ extension KnitDirectives {
switch self {
case let .unexpectedToken(token):
return "Unexpected knit comment rule \(token)"
case let .duplicateSPI(name):
case .duplicateSPI:
return "Duplicate @_spi annotations are not supported"
}
}
Expand Down

0 comments on commit d9b7400

Please sign in to comment.