MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / ensureDir

Function ensureDir

Bunoshfile.js:832–834  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

830}
831
832function ensureDir(dir) {
833 if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true })
834}

Callers 3

docsPluginsFunction · 0.85
buildLibWithDocsFunction · 0.85
docsHelpersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected