Edit File by line
•
/
home
/
barbar84
/
public_h...
/
wp-conte...
/
plugins
/
sujqvwi
/
AnonR
/
smanonr....
/
lib
/
node_mod...
/
npm
/
lib
•
File:
root.js
module.exports = root
[
0
]
Fix
|
Delete
[
1
]
Fix
|
Delete
const npm = require('./npm.js')
[
2
]
Fix
|
Delete
const output = require('./utils/output.js')
[
3
]
Fix
|
Delete
[
4
]
Fix
|
Delete
root.usage = 'npm root [-g]'
[
5
]
Fix
|
Delete
[
6
]
Fix
|
Delete
function root (args, silent, cb) {
[
7
]
Fix
|
Delete
if (typeof cb !== 'function') {
[
8
]
Fix
|
Delete
cb = silent
[
9
]
Fix
|
Delete
silent = false
[
10
]
Fix
|
Delete
}
[
11
]
Fix
|
Delete
if (!silent) output(npm.dir)
[
12
]
Fix
|
Delete
process.nextTick(cb.bind(this, null, npm.dir))
[
13
]
Fix
|
Delete
}
[
14
]
Fix
|
Delete
[
15
]
Fix
|
Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function
Edit text
Download
Information
Rename
Copy
Move
Delete
Chmod
List