Skip to content

Commit 8e51272

Browse files
committed
Add a missing dependency from swift-format to SwiftDiagnostics
SwiftDiagnostics is imported in swift-format but we didn’t declare a dependency edge in the package manifest.
1 parent d08372e commit 8e51272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var targets: [Target] = [
9696
"_SwiftFormatInstructionCounter",
9797
"SwiftFormat",
9898
.product(name: "ArgumentParser", package: "swift-argument-parser"),
99-
] + swiftSyntaxDependencies(["SwiftParser", "SwiftSyntax"]),
99+
] + swiftSyntaxDependencies(["SwiftDiagnostics", "SwiftParser", "SwiftSyntax"]),
100100
exclude: ["CMakeLists.txt"],
101101
linkerSettings: swiftformatLinkSettings
102102
),

0 commit comments

Comments
 (0)