From 9973e5c7016c1f009e380da897334f2fd8400ac2 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sun, 30 Jun 2024 08:07:12 +0530 Subject: [PATCH] Test --- web/packages/next/log-web.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/packages/next/log-web.ts b/web/packages/next/log-web.ts index c419d206b6..043d342cab 100644 --- a/web/packages/next/log-web.ts +++ b/web/packages/next/log-web.ts @@ -1,6 +1,6 @@ import { isDevBuild } from "@/next/env"; import log from "@/next/log"; -import { appNames, type AppName } from "./types/app"; +import { appName, appNames, type AppName } from "./types/app"; /** * Log a standard startup banner. @@ -10,12 +10,12 @@ import { appNames, type AppName } from "./types/app"; * @param appName The {@link AppName} of the app that is starting. * @param userID The uid for the currently logged in user, if any. */ -export const logStartupBanner = (appName: AppName, userID?: number) => { +export const logStartupBanner = (_: AppName, userID?: number) => { // Log a warning if appName isn't what it claims to be. See the // documentation of `appName` for why this is needed. if (!appNames.includes(appName)) { log.warn( - `App name ${appName} is not one of the known app names: ${JSON.stringify(appNames)}`, + `App name "${appName}" is not one of the known app names: ${JSON.stringify(appNames)}`, ); }