WIP
This commit is contained in:
parent
1183950dad
commit
f877f1f977
3 changed files with 1 additions and 4 deletions
|
|
@ -13,7 +13,6 @@ function loadFixture () {
|
|||
const fixture = argv.fixture
|
||||
const machine = argv.machine
|
||||
|
||||
console.log('DEBUG22: %j', [fixture, machine])
|
||||
if (fixture && !machine) throw new Error('Missing --machine parameter for --fixture')
|
||||
|
||||
const fixturePath = fixture => path.resolve(__dirname, '..', 'test', 'fixtures', fixture + '.json')
|
||||
|
|
@ -82,7 +81,6 @@ function loadLatestConfig () {
|
|||
return Promise.all([db.oneOrNone(sql, ['config']), loadFixture()])
|
||||
.then(([row, fixture]) => {
|
||||
const config = row ? row.data.config : []
|
||||
require('./pp')(fixture)
|
||||
return mergeValues(config, fixture)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue