Enable lint rules for Promise handling to discourage misuse of them.

Squashed all of Hugh's commits into one.
This commit is contained in:
Hugh Nimmo-Smith
2024-07-10 16:20:59 +01:00
committed by Timo
parent c2cc0937c1
commit 480a995be1
31 changed files with 332 additions and 198 deletions

View File

@@ -288,7 +288,7 @@ export class CallViewModel extends ViewModel {
});
}),
// Then unhold them
]).then(() => Promise.resolve({ unhold: ps })),
]).then(() => ({ unhold: ps })),
);
} else {
return EMPTY;