Skip to content

Commit

Permalink
Fix ESLint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed Sep 29, 2023
1 parent 67bb66f commit e2de116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/typescript/src/satellite/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ function serializeColumnData(
return typeEncoder.bool(col_val as number)
case 'REAL':
case 'FLOAT4':
case 'FLOAT8':
case 'FLOAT8': {
const num = col_val as number
let num_str = ''
if (Math.trunc(num) === num) {
Expand All @@ -1074,6 +1074,7 @@ function serializeColumnData(
num_str += num
}
return typeEncoder.text(num_str)
}
default:
return typeEncoder.text(col_val as string)
}
Expand Down

0 comments on commit e2de116

Please sign in to comment.