var log = require('npmlog')
var ping = require('../ping.js')
function checkPing (cb) {
var tracker = log.newItem('checkPing', 1)
tracker.info('checkPing', 'Pinging registry')
ping({}, true, (_err, pong, data, res) => {
cb(null, [res.statusCode, res.statusMessage])
})
}
module.exports = checkPing
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| check-files-permission.js | File | 1.93 KB | 0644 |
|
| check-ping.js | File | 311 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 |
|