Skip to content

Commit

Permalink
Fix availability message (#3191)
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriyvan committed May 12, 2024
1 parent 840d87c commit 8353aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Vapor/Application.swift
Expand Up @@ -114,7 +114,7 @@ public final class Application: Sendable {
private let _lifecycle: NIOLockedValueBox<Lifecycle>
private let _locks: NIOLockedValueBox<Locks>

@available(*, noasync, message: "This initialiser cannot be used in async contexts, Application.makeApplication() instead")
@available(*, noasync, message: "This initialiser cannot be used in async contexts, use Application.make(_:_:) instead")
public convenience init(
_ environment: Environment = .development,
_ eventLoopGroupProvider: EventLoopGroupProvider = .singleton
Expand Down

0 comments on commit 8353aed

Please sign in to comment.