aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/installer.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-07-12 14:58:34 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-07-12 14:58:34 +0200
commit0b7db72af30403fb6c7d906a4c239a5519cf934d (patch)
treef37ebff2446f68d65aab751679d2a18a4be885ab /server/initializers/installer.ts
parentd38309c345e2619bdfcc618d723d742fd7d5e655 (diff)
downloadPeerTube-0b7db72af30403fb6c7d906a4c239a5519cf934d.tar.gz
PeerTube-0b7db72af30403fb6c7d906a4c239a5519cf934d.tar.zst
PeerTube-0b7db72af30403fb6c7d906a4c239a5519cf934d.zip
Fix lint
Diffstat (limited to 'server/initializers/installer.ts')
-rw-r--r--server/initializers/installer.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/initializers/installer.ts b/server/initializers/installer.ts
index 3c5a77df9..26e92be0b 100644
--- a/server/initializers/installer.ts
+++ b/server/initializers/installer.ts
@@ -1,12 +1,10 @@
1import { join } from 'path'
2import * as config from 'config'
3import * as passwordGenerator from 'password-generator' 1import * as passwordGenerator from 'password-generator'
4import * as Promise from 'bluebird' 2import * as Promise from 'bluebird'
5 3
6import { database as db } from './database' 4import { database as db } from './database'
7import { USER_ROLES, CONFIG, LAST_MIGRATION_VERSION, CACHE } from './constants' 5import { USER_ROLES, CONFIG, LAST_MIGRATION_VERSION, CACHE } from './constants'
8import { clientsExist, usersExist } from './checker' 6import { clientsExist, usersExist } from './checker'
9import { logger, createCertsIfNotExist, root, mkdirpPromise, rimrafPromise } from '../helpers' 7import { logger, createCertsIfNotExist, mkdirpPromise, rimrafPromise } from '../helpers'
10 8
11function installApplication () { 9function installApplication () {
12 return db.sequelize.sync() 10 return db.sequelize.sync()