Skip to content

Commit

Permalink
chore: fix typo 'unkown' -> 'unknown' (#13644)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Jun 4, 2022
1 parent 37c031e commit 0f4f2ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -11,7 +11,7 @@ export class PrismaClientRustError extends Error {
constructor({ clientVersion, log, error }: PrismaClientRustErrorArgs) {
if (log) {
const backtrace = getBacktraceFromLog(log)
super(backtrace ?? 'Unkown error')
super(backtrace ?? 'Unknown error')
} else if (error) {
const backtrace = getBacktraceFromRustError(error)
super(backtrace)
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/src/IntrospectionEngine.ts
Expand Up @@ -71,7 +71,7 @@ export type IntrospectionWarnings =
| IntrospectionWarningsRelationsReintro
| IntrospectionWarningsMongoMultipleTypes
| IntrospectionWarningsMongoFieldsPointingToAnEmptyType
| IntrospectionWarningsMongoFieldsWithUnkownTypes
| IntrospectionWarningsMongoFieldsWithUnknownTypes
| IntrospectionWarningsMongoFieldsWithEmptyNames

type AffectedModel = { model: string }
Expand Down Expand Up @@ -204,7 +204,7 @@ interface IntrospectionWarningsMongoFieldsPointingToAnEmptyType extends Introspe
code: 102
affected: AffectedModelOrCompositeTypeAndField[]
}
interface IntrospectionWarningsMongoFieldsWithUnkownTypes extends IntrospectionWarning {
interface IntrospectionWarningsMongoFieldsWithUnknownTypes extends IntrospectionWarning {
code: 103
affected: AffectedModelOrCompositeTypeAndField[]
}
Expand Down

0 comments on commit 0f4f2ff

Please sign in to comment.