We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e212f8c commit 9076a50Copy full SHA for 9076a50
src/commercial/setup.ts
@@ -165,6 +165,21 @@ export async function setupCommercial(context: vscode.ExtensionContext) {
165
);
166
});
167
168
+ if (!message.enableAquaPlatform) {
169
+ config.update('useAquaPlatform', message.enableAquaPlatform);
170
+ vscode.commands.executeCommand(
171
+ 'setContext',
172
+ 'trivy.useAquaPlatform',
173
+ message.enableAquaPlatform
174
+ );
175
+
176
+ showInformationMessage(
177
+ 'Aqua Platform configuration saved successfully'
178
179
+ panel.dispose();
180
+ return;
181
+ }
182
183
if (validCreds) {
184
if (message.enableAquaPlatform) {
185
vscode.window.showInformationMessage(
0 commit comments