Skip to content

Commit 1c77ed9

Browse files
committed
Change version dependency on swift-argument-parser to from upToNextMinor to upToNextMajor
This will make swift-format more tolerant with regard to which swift-argument-parser version it needs, resulting in fewer version conflicts for packages that depend on swift-format.
1 parent acd41fd commit 1c77ed9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Package.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
214214
// Building standalone.
215215
package.dependencies += [
216216
.package(
217-
url: "https://github.com/apple/swift-argument-parser.git",
218-
// This should be kept in sync with the same dependency used by
219-
// swift-syntax.
220-
.upToNextMinor(from: "1.2.2")
221-
),
217+
url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2"),
222218
.package(
223219
url: "https://github.com/apple/swift-syntax.git",
224220
branch: "main"

0 commit comments

Comments
 (0)