Skip to content

Commit 9278422

Browse files
committed
Ensure save and cancel commands are only visible with feature flag
1 parent 57ba12d commit 9278422

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/ql-vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,11 +1123,11 @@
11231123
},
11241124
{
11251125
"command": "codeQLMockGitHubApiServer.saveScenario",
1126-
"when": "codeQLMockGitHubApiServer.recording"
1126+
"when": "config.codeQL.variantAnalysis.mockGitHubApiServer && codeQLMockGitHubApiServer.recording"
11271127
},
11281128
{
11291129
"command": "codeQLMockGitHubApiServer.cancelRecording",
1130-
"when": "codeQLMockGitHubApiServer.recording"
1130+
"when": "config.codeQL.variantAnalysis.mockGitHubApiServer && codeQLMockGitHubApiServer.recording"
11311131
}
11321132
],
11331133
"editor/context": [

0 commit comments

Comments
 (0)