MCPcopy Index your code
hub / github.com/epicweb-dev/advanced-react-patterns / relativeToWorkshopRoot

Function relativeToWorkshopRoot

epicshop/fix.js:47–49  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

45// name: "exercises__sep__01-goo.problem__sep__01-great"
46
47function relativeToWorkshopRoot(dir) {
48 return dir.replace(`${workshopRoot}${path.sep}`, '')
49}
50
51await updatePkgNames()
52await updateTsconfig()

Callers 2

updatePkgNamesFunction · 0.85
updateTsconfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected