MCPcopy 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
88function ensureTrailingSlash(base: string) {
89 return base.endsWith('/') ? base : `${base}/`;
90}
91
92async function safeBody(response: Response) {
93 try {

Callers 1

performVersionCheckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected