Skip to content
Merged
Changes from all commits
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
5 changes: 1 addition & 4 deletions Sources/swift-package-manager/SwiftPM.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ struct SwiftPM {
}
}

@discardableResult
private static func main(execName: String?) async -> Bool {
private static func main(execName: String?) async {
switch execName {
case "swift-package":
await SwiftPackageCommand.main()
Expand All @@ -53,7 +52,5 @@ struct SwiftPM {
default:
fatalError("swift-package-manager launched with unexpected name: \(execName ?? "(unknown)")")
}

return true
}
}