logs: trace npm auth

This commit is contained in:
Rhys Arkins 2019-01-27 07:36:00 +01:00
parent cbc29acb61
commit 73db5416c9

View file

@ -67,7 +67,7 @@ async function getDependency(name, maxRetries = 5) {
authInfo.type = 'Basic';
}
headers.authorization = `${authInfo.type} ${authInfo.token}`;
logger.debug(
logger.trace(
{ token: maskToken(authInfo.token), npmName: name },
'Using auth for npm lookup'
);