дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 11:15:40 +02:00
fix(editor): Keep the internal cancellation message out of the UI text catalog
Цей коміт міститься в:
1 джерело
7c09a13afc
коміт
2bf57a8297
1 file changed
+1
-1
@@ -28,7 +28,7 @@ export async function lspRequest<T>(run: () => Promise<Result<T>>, wanted?: () =
|
||||
try {
|
||||
// Edits typed just before (⌘B right after typing) must reach the server first.
|
||||
await whenAllSynced();
|
||||
if (wanted && !wanted()) throw new IpcError({ kind: "cancelled", message: "Cancelled" });
|
||||
if (wanted && !wanted()) throw new IpcError({ kind: "cancelled", message: "cancelled" });
|
||||
return await call(run());
|
||||
} catch (e) {
|
||||
if (e instanceof IpcError) throw e;
|
||||
|
||||
Reference in new issue
Заблокувати користувача