Skip to content

Commit 095d56e

Browse files
committed
Fix typo in BasicErrorResponse
1 parent 7578697 commit 095d56e

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

extensions/ql-vscode/src/common/mock-gh-api/gh-api-request.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export enum RequestKind {
1717
AutoModel = "autoModel",
1818
}
1919

20-
export interface BasicErorResponse {
20+
export interface BasicErrorResponse {
2121
message: string;
2222
}
2323

@@ -27,7 +27,7 @@ interface GetRepoRequest {
2727
};
2828
response: {
2929
status: number;
30-
body: Repository | BasicErorResponse | undefined;
30+
body: Repository | BasicErrorResponse | undefined;
3131
};
3232
}
3333

@@ -37,7 +37,7 @@ interface SubmitVariantAnalysisRequest {
3737
};
3838
response: {
3939
status: number;
40-
body?: VariantAnalysis | BasicErorResponse;
40+
body?: VariantAnalysis | BasicErrorResponse;
4141
};
4242
}
4343

@@ -47,7 +47,7 @@ interface GetVariantAnalysisRequest {
4747
};
4848
response: {
4949
status: number;
50-
body?: VariantAnalysis | BasicErorResponse;
50+
body?: VariantAnalysis | BasicErrorResponse;
5151
};
5252
}
5353

@@ -58,7 +58,7 @@ interface GetVariantAnalysisRepoRequest {
5858
};
5959
response: {
6060
status: number;
61-
body?: VariantAnalysisRepoTask | BasicErorResponse;
61+
body?: VariantAnalysisRepoTask | BasicErrorResponse;
6262
};
6363
}
6464

@@ -88,7 +88,7 @@ interface CodeSearchRequest {
8888
};
8989
response: {
9090
status: number;
91-
body?: CodeSearchResponse | BasicErorResponse;
91+
body?: CodeSearchResponse | BasicErrorResponse;
9292
};
9393
}
9494

@@ -105,7 +105,7 @@ interface AutoModelRequest {
105105
};
106106
response: {
107107
status: number;
108-
body?: AutoModelResponse | BasicErorResponse;
108+
body?: AutoModelResponse | BasicErrorResponse;
109109
};
110110
}
111111

extensions/ql-vscode/src/common/mock-gh-api/recorder.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { gzipDecode } from "../zlib";
88

99
import {
1010
AutoModelResponse,
11-
BasicErorResponse,
11+
BasicErrorResponse,
1212
CodeSearchResponse,
1313
GetVariantAnalysisRepoResultRequest,
1414
GitHubApiRequest,
@@ -147,7 +147,7 @@ async function createGitHubApiRequest(
147147
response: {
148148
status,
149149
body: await jsonResponseBody<
150-
Repository | BasicErorResponse | undefined
150+
Repository | BasicErrorResponse | undefined
151151
>(response),
152152
},
153153
};
@@ -163,7 +163,7 @@ async function createGitHubApiRequest(
163163
response: {
164164
status,
165165
body: await jsonResponseBody<
166-
VariantAnalysis | BasicErorResponse | undefined
166+
VariantAnalysis | BasicErrorResponse | undefined
167167
>(response),
168168
},
169169
};
@@ -181,7 +181,7 @@ async function createGitHubApiRequest(
181181
response: {
182182
status,
183183
body: await jsonResponseBody<
184-
VariantAnalysis | BasicErorResponse | undefined
184+
VariantAnalysis | BasicErrorResponse | undefined
185185
>(response),
186186
},
187187
};
@@ -199,7 +199,7 @@ async function createGitHubApiRequest(
199199
response: {
200200
status,
201201
body: await jsonResponseBody<
202-
VariantAnalysisRepoTask | BasicErorResponse | undefined
202+
VariantAnalysisRepoTask | BasicErrorResponse | undefined
203203
>(response),
204204
},
205205
};
@@ -233,7 +233,7 @@ async function createGitHubApiRequest(
233233
response: {
234234
status,
235235
body: await jsonResponseBody<
236-
CodeSearchResponse | BasicErorResponse | undefined
236+
CodeSearchResponse | BasicErrorResponse | undefined
237237
>(response),
238238
},
239239
};
@@ -250,7 +250,7 @@ async function createGitHubApiRequest(
250250
response: {
251251
status,
252252
body: await jsonResponseBody<
253-
BasicErorResponse | AutoModelResponse | undefined
253+
BasicErrorResponse | AutoModelResponse | undefined
254254
>(response),
255255
},
256256
};

0 commit comments

Comments
 (0)