Files
memecoin-botV2/.pnpm-store/v10/files/0a/f95a4af35f087a08787d2424aafdbad84982d3ddc39545b3657066e51c92e853588678c6e2f0eb933ae8f14733ac1b6f06d5acc6528232179864e9f28b2831

22 lines
350 B
Plaintext

'use strict'
const { Writable } = require('stream')
// Nop console.error to avoid printing things out
console.error = () => {}
setImmediate(function () {
Promise.reject(new Error('kaboom'))
})
async function run (opts) {
const stream = new Writable({
write (chunk, enc, cb) {
cb()
}
})
return stream
}
module.exports = run