MCPcopy
hub / github.com/epicweb-dev/react-performance / relativeToWorkshopRoot

Function relativeToWorkshopRoot

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

Source from the content-addressed store, hash-verified

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

Callers 2

updatePkgNamesFunction · 0.85
updateTsconfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected