mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-10 10:00:53 -07:00
Disallow floating promises. (#14605)
This commit is contained in:
committed by
GitHub
parent
8c90a1d855
commit
69ae42bb1f
@@ -92,6 +92,7 @@ function updateAction(context: CommandContext, args: string): Promise<void> {
|
||||
extensions,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
updateComplete.then((updateInfos) => {
|
||||
if (updateInfos.length === 0) {
|
||||
context.ui.addItem(
|
||||
|
||||
Reference in New Issue
Block a user