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

@ -1,5 +1,5 @@
import { doRequest } from '../server/helpers/requests'
import { readFileSync } from 'fs'
import { readFileSync } from 'fs-extra'
run()
.then(() => process.exit(0))