Make the protobuf object literal lint check an error instead of a warning. (#4019)

Fix remaining occurences of protobuf literals.
This commit is contained in:
Sarah Fortune authored and GitHub committed 2025-06-03 23:58:52 -07:00
1 parent a6ce75d17c
commit 51a538373f
4 files changed
+7 -7

No files matched your search

@@ -15,7 +15,7 @@ const activeChatButtonClickedSubscriptions = new Map<string, StreamingResponseHa
*/
export async function subscribeToChatButtonClicked(
controller: Controller,
request: EmptyRequest,
_request: EmptyRequest,
responseStream: StreamingResponseHandler,
requestId?: string,
): Promise<void> {
@@ -50,7 +50,7 @@ export async function sendChatButtonClickedEvent(controllerId: string): Promise<
}
try {
const event: Empty = {}
const event: Empty = Empty.create({})
await responseStream(
event,
false, // Not the last message