Files
klz-cables.com/.pnpm-store/v10/files/e8/6c579d2fe0f5b6737ed847d3bd7daebc1c949039cf35a18e28df2138bc25d16c550eceb047719a91f561881ac11efb01cb221e4aed66cdcc4d5404c434c892
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

25 lines
423 B
Plaintext

'use strict'
const fs = require('fs')
const { Writable } = require('stream')
function run (opts) {
let data = ''
return new Writable({
autoDestroy: true,
write (chunk, enc, cb) {
data += chunk.toString()
cb()
},
final (cb) {
setTimeout(function () {
fs.writeFile(opts.dest, data, function (err) {
cb(err)
})
}, 100)
}
})
}
module.exports = run