mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
replace fs by fs-extra to prevent EMFILE error
This commit is contained in:
parent
0ee027347a
commit
c9d5c64f98
18 changed files with 19 additions and 20 deletions
|
@ -6,8 +6,7 @@
|
|||
import * as bcrypt from 'bcrypt'
|
||||
import * as createTorrent from 'create-torrent'
|
||||
import { createHash, pseudoRandomBytes } from 'crypto'
|
||||
import { copyFile, readdir, readFile, rename, stat, Stats, unlink, writeFile } from 'fs'
|
||||
import * as mkdirp from 'mkdirp'
|
||||
import { copyFile, readdir, readFile, rename, stat, Stats, unlink, writeFile, mkdirp } from 'fs-extra'
|
||||
import { isAbsolute, join } from 'path'
|
||||
import * as pem from 'pem'
|
||||
import * as rimraf from 'rimraf'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue