Skip to content

Commit 4636333

Browse files
committed
Rename recordScenario to startRecording
1 parent 9278422 commit 4636333

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/ql-vscode/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ async function activateWithInstalledDistribution(
11961196
ctx.subscriptions.push(
11971197
commandRunner(
11981198
'codeQLMockGitHubApiServer.startRecording',
1199-
async () => await mockServer.recordScenario(),
1199+
async () => await mockServer.startRecording(),
12001200
)
12011201
);
12021202
ctx.subscriptions.push(

extensions/ql-vscode/src/mocks/mock-gh-api-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class MockGitHubApiServer extends DisposableObject {
4949
// TODO: Implement logic to list all available scenarios.
5050
}
5151

52-
public async recordScenario(): Promise<void> {
52+
public async startRecording(): Promise<void> {
5353
if (this.recorder.isRecording) {
5454
void window.showErrorMessage('A scenario is already being recorded. Use the "Save Scenario" or "Cancel Scenario" commands to finish recording.');
5555
return;

0 commit comments

Comments
 (0)