From c9d5c64f98c1f1fe7950de60c58edeaf3ace070d Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 27 Aug 2018 13:28:49 +0200 Subject: replace fs by fs-extra to prevent EMFILE error --- server/initializers/migrations/0065-video-file-size.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/initializers/migrations/0065-video-file-size.ts') diff --git a/server/initializers/migrations/0065-video-file-size.ts b/server/initializers/migrations/0065-video-file-size.ts index 4e2075f8b..66f25016a 100644 --- a/server/initializers/migrations/0065-video-file-size.ts +++ b/server/initializers/migrations/0065-video-file-size.ts @@ -1,6 +1,6 @@ import * as Sequelize from 'sequelize' import * as Promise from 'bluebird' -import { stat } from 'fs' +import { stat } from 'fs-extra' import { VideoModel } from '../../models/video/video' function up (utils: { -- cgit v1.2.3