Добавил тач файла в /tmp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user