1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

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 2023-02-15 10:44:21 +02:00
parent 15ba5da51e
commit 8e2d078560
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -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);