Prefix info-level log messages with "info:"

This commit is contained in:
MICHAEL JACKSON
2017-08-11 07:35:55 -07:00
parent 7e9dfd3292
commit 7abb881795
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ const createMutex = require('./createMutex')
const RegistryURL = process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org'
function fetchPackageInfo(packageName) {
console.log(`Fetching info for package ${packageName} from NPM`)
console.log(`info: Fetching package info for ${packageName}`)
let encodedPackageName
if (packageName.charAt(0) === '@') {