/
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
fs-extra
/
lib
/
remove
/
/usr/local/lib/node_modules/pm2/node_modules/fs-extra/lib/remove
mkdir
upload
Name
Size
Mode
Actions
index.js
331
0644
edit
dl
rm
Edit:
/usr/local/lib/node_modules/pm2/node_modules/fs-extra/lib/remove/index.js
(331B)
'use strict' const fs = require('graceful-fs') const u = require('universalify').fromCallback function remove (path, callback) { fs.rm(path, { recursive: true, force: true }, callback) } function removeSync (path) { fs.rmSync(path, { recursive: true, force: true }) } module.exports = { remove: u(remove), removeSync }
Save
cmd:
run