add hw2
This commit is contained in:
10
node_modules/pino/test/fixtures/noop-transport.js
generated
vendored
Normal file
10
node_modules/pino/test/fixtures/noop-transport.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
const { Writable } = require('stream')
|
||||
|
||||
module.exports = () => {
|
||||
return new Writable({
|
||||
autoDestroy: true,
|
||||
write (chunk, enc, cb) {
|
||||
cb()
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user