Skip to content

Commit f8f274c

Browse files
authored
Merge pull request #2217 from Matejkob/fix-local-manifest-resolving-issue
Fix incorrect `if` condition in the main package manifest
2 parents 3917e25 + 707af3c commit f8f274c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,12 +332,12 @@ package.targets.append(
332332
)
333333

334334
if useLocalDependencies {
335-
// Building standalone.
336335
package.dependencies += [
337-
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2")
336+
.package(path: "../swift-argument-parser")
338337
]
339338
} else {
339+
// Building standalone.
340340
package.dependencies += [
341-
.package(path: "../swift-argument-parser")
341+
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2")
342342
]
343343
}

0 commit comments

Comments
 (0)