Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Nov 27, 2023
1 parent 92546af commit 0d75453
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/sql/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,15 @@ const SqlPlugin: Plugin<AST | string> = {
params:
params == null
? undefined
: (JSOX.parse(params) as FormatOptionsWithLanguage['params']),
: (JSOX.parse(
params,
) as FormatOptionsWithLanguage['params']),
paramTypes:
paramTypes == null
? undefined
: (JSOX.parse(paramTypes) as FormatOptionsWithLanguage['paramTypes']),
: (JSOX.parse(
paramTypes,
) as FormatOptionsWithLanguage['paramTypes']),
})
: parser.sqlify(value, { type, database })

Expand Down

0 comments on commit 0d75453

Please sign in to comment.