MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / applyCompatRewrites

Function applyCompatRewrites

scripts/rehydrate-recovered-src.mjs:51–55  ·  view source on GitHub ↗
(sourceText)

Source from the content-addressed store, hash-verified

49}
50
51function applyCompatRewrites(sourceText) {
52 return sourceText
53 .replaceAll("from 'bun:bundle'", "from 'src/shims/bun-bundle.js'")
54 .replaceAll('from "bun:bundle"', 'from "src/shims/bun-bundle.js"')
55}
56
57async function main() {
58 let scanned = 0

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected