Add `await` Fixes the Google internal build. Release-Notes: skip Change-Id: Iadaa3c4ec4070abe92cf45ab65014026ef4cb445
diff --git a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts index a4b4f13..863f4f8 100644 --- a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts +++ b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts
@@ -1276,7 +1276,7 @@ } this.generatedFixSuggestion = suggestion; try { - waitUntil(() => this.getFixSuggestions() !== undefined); + await waitUntil(() => this.getFixSuggestions() !== undefined); this.autoSaveTrigger$.next(); } catch (error) { // Error is ok in some cases like quick save by user.