I've found a bug when trying to publish to npm with invalid token:
/Users/jaroslavkubicek/projects/incubator/node_modules/npm-registry-client/lib/publish.js:124
client.log.error('publish', 'Failed PUT ' + (res && res.statusCode))
^
TypeError: client.log.error is not a function
=> npm-registry-client fails on client.log.error not being a function instead logging what actually happened
Hi 👋
I've found a bug when trying to publish to npm with invalid token:
=>
npm-registry-client
fails onclient.log.error
not being a function instead logging what actually happened