Skip to content

Commit 9331a43

Browse files
Run prettier on all files
1 parent f8bddfa commit 9331a43

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/libsql-client/src/http.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ export class HttpClient implements Client {
140140
): Promise<Array<ResultSet>> {
141141
return this.limit<Array<ResultSet>>(async () => {
142142
try {
143-
const normalizedStmts = stmts.map(stmt => {
143+
const normalizedStmts = stmts.map((stmt) => {
144144
if (Array.isArray(stmt)) {
145145
return {
146146
sql: stmt[0],
147-
args: stmt[1] || []
147+
args: stmt[1] || [],
148148
};
149149
}
150150
return stmt;

packages/libsql-client/src/ws.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ export class WsClient implements Client {
198198
return this.limit<Array<ResultSet>>(async () => {
199199
const streamState = await this.#openStream();
200200
try {
201-
const normalizedStmts = stmts.map(stmt => {
201+
const normalizedStmts = stmts.map((stmt) => {
202202
if (Array.isArray(stmt)) {
203203
return {
204204
sql: stmt[0],
205-
args: stmt[1] || []
205+
args: stmt[1] || [],
206206
};
207207
}
208208
return stmt;

0 commit comments

Comments
 (0)