Closed simon-kolkmann closed 4 years ago
While trying hapi-pino for the first time, I found some Issues in the Usage example:
const Hapi = require('hapi')
const Hapi = require('@hapi/hapi')
plugin: require('.'),
plugin: require('hapi-pino'),
require('make-promises-safe')
Tested with hapi 19.1.1 and hapi-pino 8.0.1
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
I sent a PR but I don't know how I would unit test a README file.
While trying hapi-pino for the first time, I found some Issues in the Usage example:
const Hapi = require('hapi')
should beconst Hapi = require('@hapi/hapi')
plugin: require('.'),
didn't work for me,plugin: require('hapi-pino'),
didrequire('make-promises-safe')
is for, it seems to be not necessary and isn't explained.Tested with hapi 19.1.1 and hapi-pino 8.0.1