[🐛] const version = indexHtml.match(/manifest-([\d\\.]+)\.json/)[1];
WichyAlonzo opened this issue · comments
Wichy Alonzo commented
¿Que versión estas usando?
v2
¿Sobre que afecta?
Flujo de palabras (Flow)
Describe tu problema
async persist(indexHtml) {
// extract version from index (e.g. manifest-2.2206.9.json -> 2.2206.9)
const version = indexHtml.match(/manifest-([\d\.]+).json/)[1];
if (!version) return;
const filePath = path.join(this.path, `${version}.html`);
fs.mkdirSync(this.path, { recursive: true });
fs.writeFileSync(filePath, indexHtml);
}
help me
Reproducir error
No response
Información Adicional
No response
Rodri Marchese commented
Ese error estoy casi seguro que es de la libreria de whatsapp web. En un proyecto aparte que la estoy utilizando, me pasa el mismo error.
Jorge Chavarriaga commented
Es un error del proveedor no de la libreria.