MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / doGlob

Function doGlob

packages/angular/scripts/clean-generated.js:11–20  ·  view source on GitHub ↗
(globString)

Source from the content-addressed store, hash-verified

9const distGeneratedNodeModules = path.join(distDir, 'node_modules');
10
11function doGlob(globString) {
12 return new Promise((resolve, reject) => {
13 glob(globString, (err, matches) => {
14 if (err) {
15 return reject(err);
16 }
17 resolve(matches);
18 })
19 });
20}
21
22function getCodegenedFilesToDelete() {
23 const ngFactoryGlob = path.join(distDir, '**', '*ngfactory*');

Callers 1

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected