Skip to content

Commit 471ead3

Browse files
committed
Fix scenario commands visibility
When the mock GitHub API server setting was moved to the top-level, we forgot the comamnds in the `package.json`. This updates the commands to have the correct visibility. See: #1643
1 parent da63b99 commit 471ead3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extensions/ql-vscode/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,15 +1119,15 @@
11191119
},
11201120
{
11211121
"command": "codeQL.mockGitHubApiServer.startRecording",
1122-
"when": "config.codeQL.variantAnalysis.mockGitHubApiServer && !codeQL.mockGitHubApiServer.recording"
1122+
"when": "config.codeQL.mockGitHubApiServer.enabled && !codeQL.mockGitHubApiServer.recording"
11231123
},
11241124
{
11251125
"command": "codeQL.mockGitHubApiServer.saveScenario",
1126-
"when": "config.codeQL.variantAnalysis.mockGitHubApiServer && codeQL.mockGitHubApiServer.recording"
1126+
"when": "config.codeQL.mockGitHubApiServer.enabled && codeQL.mockGitHubApiServer.recording"
11271127
},
11281128
{
11291129
"command": "codeQL.mockGitHubApiServer.cancelRecording",
1130-
"when": "config.codeQL.variantAnalysis.mockGitHubApiServer && codeQL.mockGitHubApiServer.recording"
1130+
"when": "config.codeQL.mockGitHubApiServer.enabled && codeQL.mockGitHubApiServer.recording"
11311131
}
11321132
],
11331133
"editor/context": [

0 commit comments

Comments
 (0)