1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

fix(lsp): regression - error when removing file (#16388)

This commit is contained in:
David Sherret 2022-10-22 15:36:07 -04:00 committed by GitHub
parent 15744e2a0c
commit 8864a1d10f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,7 +312,7 @@ delete Object.prototype.__proto__;
releaseDocumentWithKey(path, key, _scriptKind, _impliedNodeFormat) {
const mapKey = path + key;
documentRegistrySourceFileCache.remove(mapKey);
documentRegistrySourceFileCache.delete(mapKey);
},
reportStats() {