X7ROOT File Manager
Current Path:
/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/lib/doctor
opt
/
alt
/
alt-nodejs11
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
doctor
/
ðŸ“
..
📄
check-files-permission.js
(1.93 KB)
📄
check-ping.js
(397 B)
📄
get-git-path.js
(300 B)
📄
get-latest-nodejs-version.js
(800 B)
📄
get-latest-npm-version.js
(444 B)
📄
verify-cached-files.js
(929 B)
Editing: get-git-path.js
var log = require('npmlog') var which = require('which') function getGitPath (cb) { var tracker = log.newItem('getGitPath', 1) tracker.info('getGitPath', 'Finding git in your PATH') which('git', function (err, path) { tracker.finish() cb(err, path) }) } module.exports = getGitPath
Upload File
Create Folder