aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-08-27 13:28:49 +0200
committerChocobozzz <me@florianbigard.com>2018-08-27 16:03:57 +0200
commitc9d5c64f98c1f1fe7950de60c58edeaf3ace070d (patch)
tree26d828e560054cf8a64628823d3dd86172d44f52 /server/initializers/migrations
parent0ee027347ae09ea397e9b85702707e9179537ebd (diff)
downloadPeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.tar.gz
PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.tar.zst
PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.zip
replace fs by fs-extra to prevent EMFILE error
Diffstat (limited to 'server/initializers/migrations')
-rw-r--r--server/initializers/migrations/0065-video-file-size.ts2
1 files changed, 1 insertions, 1 deletions
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 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2import * as Promise from 'bluebird' 2import * as Promise from 'bluebird'
3import { stat } from 'fs' 3import { stat } from 'fs-extra'
4import { VideoModel } from '../../models/video/video' 4import { VideoModel } from '../../models/video/video'
5 5
6function up (utils: { 6function up (utils: {