MCPcopy Index your code
hub / github.com/dataease/SQLBot / absoluteify

Function absoluteify

frontend/public/swagger-ui-bundle.js:40949–40958  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

40947 unescapeJsonPointerToken,
40948 }),
40949 Xl = Yl
40950 function absoluteify(s, o) {
40951 if (!Wl.test(s)) {
40952 if (!o)
40953 throw new JSONRefError(
40954 `Tried to resolve a relative URL, without having a basePath. path: '${s}' basePath: '${o}'`
40955 )
40956 return resolve(o, s)
40957 }
40958 return s
40959 }
40960 function wrapError(s, o) {
40961 let i

Callers 1

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected