Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gan-Xing/CodexBridge
/ normalizeText
Function
normalizeText
apps/web/server/reply-codex-thread.ts:11–13 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
9
};
10
11
function
normalizeText(value: unknown): string {
12
return
typeof value ===
'string'
? value.trim() :
''
;
13
}
14
15
function
readStdin(): Promise<string> {
16
return
new
Promise((resolve, reject) => {
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected