Update update-readme.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Powell 2025-08-28 15:41:01 +10:00 committed by GitHub
parent 7094918014
commit ee18110e92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -253,7 +253,7 @@ const AKA_INSTALL_URLS = {
};
function makeBadges(link, type) {
const aka = AKA_INSTALL_URLS[type] || `${AKA_INSTALL_URLS.instructions}`;
const aka = AKA_INSTALL_URLS[type] || AKA_INSTALL_URLS.instructions;
const vscodeUrl = `${aka}?url=${encodeURIComponent(`vscode:chat-${type}/install?url=${repoBaseUrl}/${link}`)}`;
const insidersUrl = `${aka}?url=${encodeURIComponent(`vscode-insiders:chat-${type}/install?url=${repoBaseUrl}/${link}`)}`;