Skip to content

Commit 034271f

Browse files
committed
Fix typos
1 parent cb39774 commit 034271f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/FluentPostgresDriver/FluentPostgresDatabase.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ extension _FluentPostgresDatabase: Database {
6565
return self.withConnection { conn in
6666
guard let sqlConn = conn as? any SQLDatabase else {
6767
fatalError("""
68-
Connection yieled by a Fluent+Postgres database is not also an SQLDatabase.
68+
Connection yielded by a Fluent+Postgres database is not also an SQLDatabase.
6969
This is a bug in Fluent; please report it at https://github.com/vapor/fluent-postgres-driver/issues
7070
""")
7171
}
@@ -124,7 +124,7 @@ extension _FluentPostgresDatabase: PostgresDatabase {
124124
func withConnection<T>(_ closure: @escaping (PostgresConnection) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
125125
guard let psqlDb: any PostgresDatabase = self.database as? any PostgresDatabase else {
126126
fatalError("""
127-
Connection yieled by a Fluent+Postgres database is not also a PostgresDatabase.
127+
Connection yielded by a Fluent+Postgres database is not also a PostgresDatabase.
128128
This is a bug in Fluent; please report it at https://github.com/vapor/fluent-postgres-driver/issues
129129
""")
130130
}

0 commit comments

Comments
 (0)