Disallow floating promises. (#14605)

This commit is contained in:
Christian Gunderman
2025-12-05 16:12:49 -08:00
committed by GitHub
parent 3cf44acc08
commit 025e450ac2
57 changed files with 128 additions and 4 deletions
+2
View File
@@ -278,6 +278,7 @@ export class IdeClient {
});
// Ensure the mutex is released only after the diff interaction is complete.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
promise.finally(release);
return promise;
@@ -406,6 +407,7 @@ export class IdeClient {
IDEConnectionStatus.Disconnected,
'IDE integration disabled. To enable it again, run /ide enable.',
);
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.client?.close();
}