MCPcopy Index your code
hub / github.com/rollup/plugins / createMissingDirectories

Function createMissingDirectories

packages/node-resolve/test/symlinks.js:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 }
17};
18function createMissingDirectories() {
19 createDirectory('symlinked/first/node_modules');
20 createDirectory('symlinked/second/node_modules');
21 createDirectory('symlinked/third/node_modules');
22}
23function createDirectory(pathToDir) {
24 if (!fs.existsSync(pathToDir)) {
25 fs.mkdirSync(pathToDir);

Callers 1

symlinks.jsFile · 0.85

Calls 1

createDirectoryFunction · 0.85

Tested by

no test coverage detected