aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/database.ts2
-rw-r--r--server/initializers/migrator.ts1
2 files changed, 1 insertions, 2 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts
index 1662c1968..47604c6b0 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -144,7 +144,7 @@ function getModelFiles (modelDirectory: string, callback: (err: Error, filePaths
144 144
145 return eachCallback(null) 145 return eachCallback(null)
146 }) 146 })
147 }, function(err: Error) { 147 }, function (err: Error) {
148 return callback(err, modelFilePaths) 148 return callback(err, modelFilePaths)
149 }) 149 })
150 }) 150 })
diff --git a/server/initializers/migrator.ts b/server/initializers/migrator.ts
index d72c60638..d8faaebc6 100644
--- a/server/initializers/migrator.ts
+++ b/server/initializers/migrator.ts
@@ -6,7 +6,6 @@ import * as Sequelize from 'sequelize'
6import { database as db } from './database' 6import { database as db } from './database'
7import { LAST_MIGRATION_VERSION } from './constants' 7import { LAST_MIGRATION_VERSION } from './constants'
8import { logger } from '../helpers' 8import { logger } from '../helpers'
9import { ApplicationInstance } from '../models'
10 9
11function migrate (finalCallback: (err: Error) => void) { 10function migrate (finalCallback: (err: Error) => void) {
12 waterfall([ 11 waterfall([