Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Oct 19, 2020
1 parent 80c5d69 commit c1fd403
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/factories/createSqlTag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,11 @@ export default () => {
rawSql += sqlFragment.sql;
parameterValues.push(...sqlFragment.values);
} else {
log.error(
{
constructedSql: rawSql,
index,
offendingToken: token,
},
'unexpected value expression',
);
log.error({
constructedSql: rawSql,
index,
offendingToken: token,
}, 'unexpected value expression');

throw new TypeError('Unexpected value expression.');
}
Expand Down

0 comments on commit c1fd403

Please sign in to comment.