1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

replace fs by fs-extra to prevent EMFILE error

This commit is contained in:
Rigel Kent 2018-08-27 13:28:49 +02:00 committed by Chocobozzz
parent 0ee027347a
commit c9d5c64f98
18 changed files with 19 additions and 20 deletions

View file

@ -5,7 +5,7 @@ import { AbstractScheduler } from './abstract-scheduler'
import { SCHEDULER_INTERVALS_MS } from '../../initializers'
import { logger } from '../../helpers/logger'
import * as request from 'request'
import { createWriteStream, writeFile } from 'fs'
import { createWriteStream, writeFile } from 'fs-extra'
import { join } from 'path'
import { mkdirpPromise, root } from '../../helpers/core-utils'