Skip to content

Commit

Permalink
CheckDependencies2 → CheckDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
finestructure committed Jan 5, 2024
1 parent 4cd97c1 commit 92093ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import AsyncHTTPClient
import CanonicalPackageURL


public struct CheckDependencies2: AsyncParsableCommand {
public struct CheckDependencies: AsyncParsableCommand {
@Option(name: .long)
var apiBaseURL: String = "https://swiftpackageindex.com"

Expand Down Expand Up @@ -124,7 +124,7 @@ public struct CheckDependencies2: AsyncParsableCommand {
}


extension CheckDependencies2 {
extension CheckDependencies {
var inputSource: InputSource {
switch (input, packageUrls.count) {
case (.some(let fname), 0):
Expand Down
2 changes: 1 addition & 1 deletion Sources/ValidatorCore/Commands/Validator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import ArgumentParser
public struct Validator: AsyncParsableCommand {
public static var configuration = CommandConfiguration(
abstract: "SPI Validator",
subcommands: [CheckDependencies2.self,
subcommands: [CheckDependencies.self,
CheckRedirects.self,
MergeLists.self,
ApplyDenyList.self,
Expand Down
2 changes: 1 addition & 1 deletion Tests/ValidatorTests/CheckDependencies2Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import NIO


final class CheckDependencies2Tests: XCTestCase {
var check = CheckDependencies2()
var check = CheckDependencies()

override func setUp() {
super.setUp()
Expand Down

0 comments on commit 92093ee

Please sign in to comment.