X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftools%2Fpeertube-repl.ts;h=a38d51801afc5498804902df81d0dbb2fdeeb981;hb=f479685678406a5df864d89615b33d29085ebfc6;hp=9ddb037c71a3f89396599db4319e93c7bdbf966d;hpb=00c228363f0db1d181d546eebb0c7ec3eb487976;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tools/peertube-repl.ts b/server/tools/peertube-repl.ts index 9ddb037c7..a38d51801 100644 --- a/server/tools/peertube-repl.ts +++ b/server/tools/peertube-repl.ts @@ -7,7 +7,7 @@ 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 { initDatabaseModels, sequelizeTypescript } from '../initializers/database' import * as cli from '../tools/cli' import { logger } from '../helpers/logger' import * as constants from '../initializers/constants' @@ -82,7 +82,6 @@ const start = async () => { } replServer.defineCommand('reset', resetCommand) replServer.defineCommand('r', resetCommand) - } start()