Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShipSecAI/studio
/ ensureTrailingSlash
Function
ensureTrailingSlash
backend/src/version-check.ts:88–90 ·
view source on GitHub ↗
(base: string)
Source
from the content-addressed store, hash-verified
86
}
87
88
function
ensureTrailingSlash(base: string) {
89
return
base.endsWith(
'/'
) ? base : `${base}/`;
90
}
91
92
async
function
safeBody(response: Response) {
93
try {
Callers
1
performVersionCheck
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected