mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-27 23:40:18 +00:00
push all website files
This commit is contained in:
13
website/node_modules/npm/lib/doctor/get-git-path.js
generated
vendored
Normal file
13
website/node_modules/npm/lib/doctor/get-git-path.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user