refactor: remove console log and improve BN usage
This commit is contained in:
parent
eb33203d26
commit
d83825eedf
1 changed files with 2 additions and 3 deletions
|
|
@ -7,9 +7,8 @@ exports.up = function (next) {
|
|||
return loadLatest()
|
||||
.then(config => {
|
||||
return saveConfig(newConfig)
|
||||
.then(() => next())
|
||||
.then(next)
|
||||
.catch(err => {
|
||||
console.log(err.message)
|
||||
return next(err)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue