Skip to content

Commit 9943305

Browse files
committed
cleanup
1 parent 51fe9f9 commit 9943305

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

Sources/SPMTestSupport/MockWorkspace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public final class MockWorkspace {
9393

9494
var manifests: [MockManifestLoader.Key: Manifest] = [:]
9595

96-
func create(package: MockPackage, basePath: AbsolutePath, isRoot: Bool/*, packageKind: PackageReference.Kind*/) throws {
96+
func create(package: MockPackage, basePath: AbsolutePath, isRoot: Bool) throws {
9797
let packagePath: AbsolutePath
9898
switch package.location {
9999
case .fileSystem(let path):

Sources/SPMTestSupport/PackageDependencyDescriptionExtensions.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@ import PackageModel
1313
import TSCBasic
1414

1515
public extension PackageDependency {
16-
/*
17-
static func fileSystem(identity: PackageIdentity? = nil,
18-
deprecatedName: String? = nil,
19-
path: String,
20-
productFilter: ProductFilter = .everything
21-
) -> Self {
22-
return .fileSystem(identity: identity,
23-
deprecatedName: deprecatedName,
24-
path: AbsolutePath(path),
25-
productFilter: productFilter)
26-
}*/
27-
2816
static func fileSystem(identity: PackageIdentity? = nil,
2917
deprecatedName: String? = nil,
3018
path: AbsolutePath,

0 commit comments

Comments
 (0)