Ensure save and cancel commands are only visible with feature flag

This commit is contained in:
Koen Vlaswinkel
2022-10-21 10:41:03 +02:00
parent 57ba12db8b
commit 9278422406

View File

@@ -1123,11 +1123,11 @@
},
{
"command": "codeQLMockGitHubApiServer.saveScenario",
"when": "codeQLMockGitHubApiServer.recording"
"when": "config.codeQL.variantAnalysis.mockGitHubApiServer && codeQLMockGitHubApiServer.recording"
},
{
"command": "codeQLMockGitHubApiServer.cancelRecording",
"when": "codeQLMockGitHubApiServer.recording"
"when": "config.codeQL.variantAnalysis.mockGitHubApiServer && codeQLMockGitHubApiServer.recording"
}
],
"editor/context": [