master
Mark Moffat 2019-06-11 15:02:44 +09:30
parent 1c741eb615
commit 704adb747c
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
const common = require('./common');
const { initDb } = require('./db');
const{initDb} = require('./db');
const fs = require('fs');
const path = require('path');
@ -29,12 +29,11 @@ initDb(config.databaseConnectionString, (err, db) => {
})
.catch((err) => {
console.log('Error inserting test data', err);
reject(err);
process.exit(2);
});
})
.catch((err) => {
console.log('Error removing existing test data', err);
reject(err);
process.exit(2);
});
});