Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Commands/SwiftTestCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ public struct SwiftTestCommand: AsyncSwiftCommand {
try await printCodeCovPath(swiftCommandState)
} else if self.options._deprecated_shouldListTests {
// Backward compatibility 6/2022 for deprecation of a flag into a subcommand.
let command = try List.parse()
let command = try await List.parse()

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, we could finally throw out the long-deprecated list-tests subcommand.

try await command.run(swiftCommandState)
} else {
let (productsBuildParameters, _) = try swiftCommandState.buildParametersForTest(options: self.options)
Expand Down
Loading