Skip to content

Commit 72d9c32

Browse files
committed
oops
1 parent 208926a commit 72d9c32

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/core/src/shared/lsp/baseLspInstaller.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ export abstract class BaseLspInstaller<T extends ResourcePaths = ResourcePaths,
5151

5252
await this.postInstall(assetDirectory)
5353

54-
const deletedVersions = await cleanLspDownloads(manifest.versions, nodePath.dirname(assetDirectory))
54+
const deletedVersions = await cleanLspDownloads(
55+
installationResult.version,
56+
manifest.versions,
57+
nodePath.dirname(assetDirectory)
58+
)
5559
this.logger.debug(`cleaning old LSP versions deleted ${deletedVersions.length} versions`)
5660

5761
return {

0 commit comments

Comments
 (0)