From 00c228363f0db1d181d546eebb0c7ec3eb487976 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Apr 2020 08:39:44 +0200 Subject: Fix repl script --- server/tools/peertube-repl.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'server') 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 @@ import { registerTSPaths } from '../helpers/register-ts-paths' +registerTSPaths() + import * as repl from 'repl' import * as path from 'path' import * as _ from 'lodash' import { uuidv1, uuidv3, uuidv4, uuidv5 } from 'uuid' import * as Sequelize from 'sequelize' import * as YoutubeDL from 'youtube-dl' - import { initDatabaseModels, sequelizeTypescript } from '../initializers' import * as cli from '../tools/cli' import { logger } from '../helpers/logger' @@ -18,8 +19,6 @@ import * as signupUtils from '../helpers/signup' import * as utils from '../helpers/utils' import * as YoutubeDLUtils from '../helpers/youtube-dl' -registerTSPaths() - const start = async () => { await initDatabaseModels(true) -- cgit v1.2.3