mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Only look at extensions that have a package.json
This commit is contained in:
@@ -94,6 +94,10 @@ class ExtensionManifestParser extends ExtensionManifestHandler {
|
||||
}
|
||||
return extensionDescription;
|
||||
}, (err) => {
|
||||
if (err.code === 'ENOENT') {
|
||||
return null;
|
||||
}
|
||||
|
||||
this._collector.error(this._absoluteFolderPath, nls.localize('fileReadFail', "Cannot read file {0}: {1}.", this._absoluteManifestPath, err.message));
|
||||
return null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user