Await log require in cli app because of changes to local module.
This commit is contained in:
parent
95b6f77848
commit
15bb696b59
|
@ -55,7 +55,7 @@ function parsePattern () {
|
|||
}
|
||||
|
||||
async function main (arg) {
|
||||
log = require('log')(arg)
|
||||
log = await require('log')(arg)
|
||||
|
||||
log.info('mcopy-cli')
|
||||
|
||||
|
|
Loading…
Reference in New Issue