Fix extension installation by not removing the package.json

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2023-02-15 10:44:48 +02:00
1 parent 15ba5da51e
commit 8e2d078560
1 file changed
-3
@@ -216,9 +216,6 @@ export class ExtensionDiscovery {
const extension = await this.loadExtensionFromFolder(absPath); const extension = await this.loadExtensionFromFolder(absPath);
if (extension) { if (extension) {
// Remove a broken symlink left by a previous installation if it exists.
await this.dependencies.removePath(extension.manifestPath);
// Install dependencies for the new extension // Install dependencies for the new extension
await this.dependencies.installExtension(extension.absolutePath); await this.dependencies.installExtension(extension.absolutePath);