Skip to content

Commit bb2e85d

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 414b216 commit bb2e85d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Package.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,8 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
213213
// Building standalone.
214214
package.dependencies += [
215215
.package(
216-
url: "https://github.com/apple/swift-argument-parser.git",
217-
// This should be kept in sync with the same dependency used by
218-
// swift-syntax.
219-
.upToNextMinor(from: "1.2.2")
216+
url: "https://github.com/apple/swift-argument-parser.git",
217+
from: "1.2.2"
220218
),
221219
.package(
222220
url: "https://github.com/apple/swift-syntax.git",

0 commit comments

Comments
 (0)