Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
excludeModules.forEach(module => {
dot.del(module, cfg);
modules.splice(modules.indexOf(module), 1);
});
del(path) {
dot.del(path, this._config);
return this;
}