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
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| check-files-permission.js | File | 1.93 KB | 0644 |
|
| check-ping.js | File | 407 B | 0644 |
|
| get-git-path.js | File | 300 B | 0644 |
|
| get-latest-nodejs-version.js | File | 800 B | 0644 |
|
| get-latest-npm-version.js | File | 444 B | 0644 |
|
| verify-cached-files.js | File | 929 B | 0644 |
|