MCPcopy Create free account
hub / github.com/Unitech/pm2 / deleteModulePath

Function deleteModulePath

lib/API/Modules/TAR.js:108–111  ·  view source on GitHub ↗
(module_name)

Source from the content-addressed store, hash-verified

106}
107
108function deleteModulePath(module_name) {
109 var sanitized = module_name.replace(/\./g, '')
110 deleteFolderRecursive(path.join(cst.DEFAULT_MODULE_PATH, module_name));
111}
112
113function runInstall(PM2, target_path, module_name, opts, cb) {
114 var config_file = path.join(target_path, 'package.json')

Callers 1

uninstallFunction · 0.85

Calls 1

deleteFolderRecursiveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…