Skip to content

Commit

Permalink
Run prettier on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannibenussi committed Nov 6, 2024
1 parent f8bddfa commit 9331a43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/libsql-client/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ export class HttpClient implements Client {
): Promise<Array<ResultSet>> {
return this.limit<Array<ResultSet>>(async () => {
try {
const normalizedStmts = stmts.map(stmt => {
const normalizedStmts = stmts.map((stmt) => {
if (Array.isArray(stmt)) {
return {
sql: stmt[0],
args: stmt[1] || []
args: stmt[1] || [],
};
}
return stmt;
Expand Down
4 changes: 2 additions & 2 deletions packages/libsql-client/src/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ export class WsClient implements Client {
return this.limit<Array<ResultSet>>(async () => {
const streamState = await this.#openStream();
try {
const normalizedStmts = stmts.map(stmt => {
const normalizedStmts = stmts.map((stmt) => {
if (Array.isArray(stmt)) {
return {
sql: stmt[0],
args: stmt[1] || []
args: stmt[1] || [],
};
}
return stmt;
Expand Down

0 comments on commit 9331a43

Please # to comment.