Skip to content

Commit

Permalink
fix lint warn
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Jan 14, 2025
1 parent 86121a5 commit 3ecc87f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/cubejs-api-gateway/src/gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1843,6 +1843,8 @@ class ApiGateway {
this.handleError({
e, context, query, res, requestStarted
});

return null;
}
}

Expand Down Expand Up @@ -1979,6 +1981,8 @@ class ApiGateway {
this.handleError({
e, context, query, res, requestStarted
});

return null;
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-backend-native/js/ResultWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface DataResult {
}

class BaseWrapper {
public readonly isWrapper: boolean = true;
public readonly isWrapper: boolean = true;
}

export class ResultWrapper extends BaseWrapper implements DataResult {
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-server/src/websocket-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class WebSocketServer {
// it again - it's too expensive, instead we serialize the rest of the message and then
// inject query result json into message.
const resMsg = new TextDecoder().decode(message.message);
message.message = "~XXXXX~";
message.message = '~XXXXX~';
messageStr = JSON.stringify(message);
messageStr = messageStr.replace('"~XXXXX~"', resMsg);
} else {
Expand Down

0 comments on commit 3ecc87f

Please sign in to comment.