Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : infihsqw ( 644)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /lib/node_modules/npm/lib/doctor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/node_modules/npm/lib/doctor/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

ZeroDay Forums Mini