Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/t3-oss/create-t3-app
/ removeTrailingSlash
Function
removeTrailingSlash
cli/src/utils/removeTrailingSlash.ts:1–7 ·
view source on GitHub ↗
(input: string)
Source
from the content-addressed store, hash-verified
1
export
const
removeTrailingSlash = (input: string) => {
2
if
(input.length > 1 && input.endsWith(
"/"
)) {
3
input = input.slice(0, -1);
4
}
5
6
return
input;
7
};
Callers
2
parseNameAndPath
Function · 0.85
validateAppName
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected