Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwessel committed Jan 26, 2024
1 parent 98f231f commit 1d826f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/HttpClient/HttpClient.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ export class HttpClient<CustomConfig extends Record<string, unknown> = {}> imple
log.error({ err, method, path }, err.message)
span.recordException(err)
span.setStatus({
code: SpanStatusCode.ERROR,
message: err.message,
})
code: SpanStatusCode.ERROR,
message: err.message,
})
throw err
} finally {
clearTimeout(timeout)
Expand Down
20 changes: 10 additions & 10 deletions packages/core/src/zodOpenApi/zodOpenApi.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ function parseTransformation({
['integer', 'number'].includes(`${input.type}`)
? 0
: input.type === 'string'
? ''
: input.type === 'boolean'
? false
: input.type === 'object'
? {}
: input.type === 'null'
? null
: input.type === 'array'
? []
: undefined,
? ''
: input.type === 'boolean'
? false
: input.type === 'object'
? {}
: input.type === 'null'
? null
: input.type === 'array'
? []
: undefined,
{ addIssue: () => undefined, path: [] }, // TODO: Discover if context is necessary here
)
} catch (e) {
Expand Down

0 comments on commit 1d826f7

Please sign in to comment.