MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / formatWelcomeMessage

Function formatWelcomeMessage

source code/utils/logoV2Utils.ts:99–104  ·  view source on GitHub ↗
(username: string | null)

Source from the content-addressed store, hash-verified

97 * Formats the welcome message based on username
98 */
99export function formatWelcomeMessage(username: string | null): string {
100 if (!username || username.length > MAX_USERNAME_LENGTH) {
101 return 'Welcome back!'
102 }
103 return `Welcome back ${username}!`
104}
105
106/**
107 * Truncates a path in the middle if it's too long.

Callers 1

LogoV2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected