Skip to content

Commit 707af3c

Browse files
committed
Fix local dependency resolution in the Package.swift
This commit corrects the conditional logic for loading local versus remote dependencies in the Package.swift file.
1 parent e0fa85f commit 707af3c

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)