Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TypeScriptToLua/TypeScriptToLua
/ normalize
Function
normalize
test/transpile/paths.spec.ts:158–160 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
156
});
157
158
function
normalize(path: string) {
159
return
path.endsWith(
"/"
) ? path.slice(0, path.length - 1) : path;
160
}
Callers
1
paths.spec.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected