We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780b45c commit 6f2b882Copy full SHA for 6f2b882
src/commands.ts
@@ -18,6 +18,7 @@ import * as fs from "fs-extra";
18
import { Product } from "./types";
19
import { codeSampleProvider } from "./plugins/generate";
20
import { generateImport } from "./common/generateImport";
21
+import { getProfileInfoInstance } from "./profileManager";
22
23
const path = require("path");
24
@@ -274,6 +275,8 @@ export class AlicloudApiCommands {
274
275
});
276
277
vscode.commands.registerCommand("alicloud.api.restart", async () => {
278
+ const profileInfo = await getProfileInfoInstance();
279
+ await profileInfo.refreshProfiles();
280
await vscode.window.withProgress(
281
{
282
location: vscode.ProgressLocation.Window,
0 commit comments