MCPcopy
hub / github.com/microsoft/vscode-js-debug / del

Function del

gulpfile.js:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77const del = async patterns => {
78 const files = glob.sync(patterns, { cwd: __dirname });
79 await Promise.all(
80 files.map(f => fs.promises.rm(path.join(__dirname, f), { force: true, recursive: true })),
81 );
82};
83
84gulp.task('clean-assertions', () => del(['src/test/**/*.txt.actual']));
85

Callers 1

gulpfile.jsFile · 0.70

Calls 2

allMethod · 0.80
mapMethod · 0.80

Tested by

no test coverage detected