From 3e7a4b77967e46a067712445c499c5df005b8e31 Mon Sep 17 00:00:00 2001 From: blidd-google <112491344+blidd-google@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:38:37 -0400 Subject: [PATCH] Remove HTTP server shutdown message (#1457) * remove shutdown msg --- CHANGELOG.md | 1 + src/bin/firebase-functions.ts | 2 +- src/v2/options.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f96d0b994..767a26aeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,3 @@ +- Remove HTTP server shutdown message. (#1457) - Add features to task queue functions. (#1423) - Add traces to V2 Firestore trigger logs. (#1440) diff --git a/src/bin/firebase-functions.ts b/src/bin/firebase-functions.ts index a977b8849..d04d09fb8 100644 --- a/src/bin/firebase-functions.ts +++ b/src/bin/firebase-functions.ts @@ -54,7 +54,7 @@ const app = express(); function handleQuitquitquit(req: express.Request, res: express.Response) { res.send("ok"); - server.close(() => console.log("shutdown requested via /__/quitquitquit")); + server.close(); } app.get("/__/quitquitquit", handleQuitquitquit); diff --git a/src/v2/options.ts b/src/v2/options.ts index 6b0480510..fb4491141 100644 --- a/src/v2/options.ts +++ b/src/v2/options.ts @@ -260,7 +260,7 @@ export function getGlobalOptions(): GlobalOptions { * Additional fields that can be set on any event-handling function. */ export interface EventHandlerOptions extends Omit { - /** Type of the event. Valid values are TODO */ + /** Type of the event. Valid values are TODO */ eventType?: string; /** TODO */