diff --git a/src/helpers/init-project.ts b/src/helpers/init-project.ts index 9392d722..d837a611 100644 --- a/src/helpers/init-project.ts +++ b/src/helpers/init-project.ts @@ -264,8 +264,11 @@ async function tryInstallPlugin(editor: EditorTarget): Promise { } if (editor === "copilot") { - const { isCopilotCliAvailable, installCopilotPlugin, buildMarketplaceUrl } = - await import("./plugin-install"); + const { + isCopilotCliAvailable, + installCopilotPlugin, + buildVscodeMarketplaceUrl, + } = await import("./plugin-install"); if (await isCopilotCliAvailable()) { try { @@ -276,7 +279,7 @@ async function tryInstallPlugin(editor: EditorTarget): Promise { } } - const url = buildMarketplaceUrl(); + const url = buildVscodeMarketplaceUrl(); return { installed: true, detail: url }; }