aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools')
-rw-r--r--server/tools/peertube-repl.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tools/peertube-repl.ts b/server/tools/peertube-repl.ts
index ecbba8b0b..9ddb037c7 100644
--- a/server/tools/peertube-repl.ts
+++ b/server/tools/peertube-repl.ts
@@ -1,11 +1,12 @@
1import { registerTSPaths } from '../helpers/register-ts-paths' 1import { registerTSPaths } from '../helpers/register-ts-paths'
2registerTSPaths()
3
2import * as repl from 'repl' 4import * as repl from 'repl'
3import * as path from 'path' 5import * as path from 'path'
4import * as _ from 'lodash' 6import * as _ from 'lodash'
5import { uuidv1, uuidv3, uuidv4, uuidv5 } from 'uuid' 7import { uuidv1, uuidv3, uuidv4, uuidv5 } from 'uuid'
6import * as Sequelize from 'sequelize' 8import * as Sequelize from 'sequelize'
7import * as YoutubeDL from 'youtube-dl' 9import * as YoutubeDL from 'youtube-dl'
8
9import { initDatabaseModels, sequelizeTypescript } from '../initializers' 10import { initDatabaseModels, sequelizeTypescript } from '../initializers'
10import * as cli from '../tools/cli' 11import * as cli from '../tools/cli'
11import { logger } from '../helpers/logger' 12import { logger } from '../helpers/logger'
@@ -18,8 +19,6 @@ import * as signupUtils from '../helpers/signup'
18import * as utils from '../helpers/utils' 19import * as utils from '../helpers/utils'
19import * as YoutubeDLUtils from '../helpers/youtube-dl' 20import * as YoutubeDLUtils from '../helpers/youtube-dl'
20 21
21registerTSPaths()
22
23const start = async () => { 22const start = async () => {
24 await initDatabaseModels(true) 23 await initDatabaseModels(true)
25 24