Remove sqlservernotebook extension (#22903)

This commit is contained in:
Charles Gagnon
2023-05-01 13:44:14 -07:00
committed by GitHub
parent 6a7899281a
commit a650f268f7
25 changed files with 2 additions and 692 deletions

View File

@@ -157,10 +157,7 @@ export function modifyI18nPackFiles(existingTranslationFolder: string, resulting
// exclude altered vscode extensions from having a new path even if we provide a new I18n file.
if (alteredVSCodeExtensions.indexOf(extension) === -1) {
//handle edge case for 'Microsoft.sqlservernotebook' where extension name is the same as extension ID.
//(Other extensions need to have publisher appended in front as their ID.)
let adsExtensionId = (extension === 'Microsoft.sqlservernotebook') ? extension : 'Microsoft.' + extension;
let adsExtensionId = 'Microsoft.' + extension;
resultingTranslationPaths.push({ id: adsExtensionId, resourceName: `extensions/${extension}.i18n.json` });
}
}