mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fix typo of word extension (#93178)
This commit is contained in:
parent
604fb7637f
commit
9abd38f362
|
@ -48,12 +48,12 @@ export function loadDefaultTelemetryReporter(): TelemetryReporter {
|
|||
}
|
||||
|
||||
function getPackageInfo(): IPackageInfo | null {
|
||||
const extention = vscode.extensions.getExtension('Microsoft.vscode-markdown');
|
||||
if (extention && extention.packageJSON) {
|
||||
const extension = vscode.extensions.getExtension('Microsoft.vscode-markdown');
|
||||
if (extension && extension.packageJSON) {
|
||||
return {
|
||||
name: extention.packageJSON.name,
|
||||
version: extention.packageJSON.version,
|
||||
aiKey: extention.packageJSON.aiKey
|
||||
name: extension.packageJSON.name,
|
||||
version: extension.packageJSON.version,
|
||||
aiKey: extension.packageJSON.aiKey
|
||||
};
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue