Fix repl script
This commit is contained in:
parent
6ccdf9d53e
commit
00c228363f
|
@ -1,11 +1,12 @@
|
||||||
import { registerTSPaths } from '../helpers/register-ts-paths'
|
import { registerTSPaths } from '../helpers/register-ts-paths'
|
||||||
|
registerTSPaths()
|
||||||
|
|
||||||
import * as repl from 'repl'
|
import * as repl from 'repl'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
import * as _ from 'lodash'
|
import * as _ from 'lodash'
|
||||||
import { uuidv1, uuidv3, uuidv4, uuidv5 } from 'uuid'
|
import { uuidv1, uuidv3, uuidv4, uuidv5 } from 'uuid'
|
||||||
import * as Sequelize from 'sequelize'
|
import * as Sequelize from 'sequelize'
|
||||||
import * as YoutubeDL from 'youtube-dl'
|
import * as YoutubeDL from 'youtube-dl'
|
||||||
|
|
||||||
import { initDatabaseModels, sequelizeTypescript } from '../initializers'
|
import { initDatabaseModels, sequelizeTypescript } from '../initializers'
|
||||||
import * as cli from '../tools/cli'
|
import * as cli from '../tools/cli'
|
||||||
import { logger } from '../helpers/logger'
|
import { logger } from '../helpers/logger'
|
||||||
|
@ -18,8 +19,6 @@ import * as signupUtils from '../helpers/signup'
|
||||||
import * as utils from '../helpers/utils'
|
import * as utils from '../helpers/utils'
|
||||||
import * as YoutubeDLUtils from '../helpers/youtube-dl'
|
import * as YoutubeDLUtils from '../helpers/youtube-dl'
|
||||||
|
|
||||||
registerTSPaths()
|
|
||||||
|
|
||||||
const start = async () => {
|
const start = async () => {
|
||||||
await initDatabaseModels(true)
|
await initDatabaseModels(true)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue