Добавил тач файла в /tmp

This commit is contained in:
Book Pauk
2019-01-22 04:27:42 +07:00
parent 7b14722730
commit 40f0521bce

View File

@@ -50,6 +50,9 @@ class FileDecompressor {
if (!await fs.pathExists(outFilename)) {
await fs.writeFile(outFilename, await this.gzipBuffer(buf))
} else {
const fd = await fs.open(outFilename, 'w');
await fs.close(fd);
}
return outFilename;