diff options
Diffstat (limited to 'scripts/danger/clean/cleaner.ts')
-rw-r--r-- | scripts/danger/clean/cleaner.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/danger/clean/cleaner.ts b/scripts/danger/clean/cleaner.ts index a22e2ed6a..009f8f7a0 100644 --- a/scripts/danger/clean/cleaner.ts +++ b/scripts/danger/clean/cleaner.ts | |||
@@ -1,8 +1,8 @@ | |||
1 | import * as Promise from 'bluebird' | 1 | import * as Promise from 'bluebird' |
2 | import * as rimraf from 'rimraf' | 2 | import * as rimraf from 'rimraf' |
3 | import { CONFIG, initDatabase, sequelizeTypescript } from '../../../server/initializers' | 3 | import { CONFIG, initDatabaseModels, sequelizeTypescript } from '../../../server/initializers' |
4 | 4 | ||
5 | initDatabase(true) | 5 | initDatabaseModels(true) |
6 | .then(() => { | 6 | .then(() => { |
7 | return sequelizeTypescript.drop() | 7 | return sequelizeTypescript.drop() |
8 | }) | 8 | }) |