Skip to content

Commit 757c1c2

Browse files
authored
[6.0] Remove unused options from add-product subcommand (#7697)
Cherry-pick of #7693 **Explanation**: I removed the mistakenly implemented options (`url`, `path`, `checksum`) that were not used in the `add-product` subcommand. **Scope**: `add-product` subcommand. **Issue**: N/A **Original PR**: #7693 **Risk**: No risk. Because it just removes unreferenced code. **Testing**: covered by existing tests **Reviewer**: @bnbarham
1 parent 4e03b81 commit 757c1c2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Sources/Commands/PackageCommands/AddProduct.swift

-9
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ extension SwiftPackageCommand {
5151
)
5252
var targets: [String] = []
5353

54-
@Option(help: "The URL for a remote binary target")
55-
var url: String?
56-
57-
@Option(help: "The path to a local binary target")
58-
var path: String?
59-
60-
@Option(help: "The checksum for a remote binary target")
61-
var checksum: String?
62-
6354
func run(_ swiftCommandState: SwiftCommandState) throws {
6455
let workspace = try swiftCommandState.getActiveWorkspace()
6556

0 commit comments

Comments
 (0)