Skip to content

Commit 1a2f11a

Browse files
committed
Drop unused return parameter on configure
1 parent 4d54e2d commit 1a2f11a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Sources/App/configure.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import FluentPostgresDriver
1818
import Vapor
1919

2020

21-
@discardableResult
22-
public func configure(_ app: Application, databaseHost: String? = nil, databasePort: Int? = nil) async throws -> String {
21+
public func configure(_ app: Application, databaseHost: String? = nil, databasePort: Int? = nil) async throws {
2322
#if DEBUG && os(macOS)
2423
// The bundle is only loaded if /Applications/InjectionIII.app exists on the local development machine.
2524
// Requires InjectionIII 4.7.3 or higher to be loaded for compatibility with Package.swift files.
@@ -367,6 +366,4 @@ public func configure(_ app: Application, databaseHost: String? = nil, databaseP
367366
// bootstrap app metrics
368367
@Dependency(\.metricsSystem) var metricsSystem
369368
metricsSystem.bootstrap()
370-
371-
return host
372369
}

0 commit comments

Comments
 (0)