mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Fix missing dependency in logcat plugin.
This commit is contained in:
@@ -7,8 +7,9 @@ var wireutil = require('../../../wire/util')
|
||||
module.exports = syrup.serial()
|
||||
.dependency(require('../support/adb'))
|
||||
.dependency(require('../support/router'))
|
||||
.dependency(require('../support/push'))
|
||||
.dependency(require('../support/quit'))
|
||||
.define(function(options, adb, router, quit) {
|
||||
.define(function(options, adb, router, push, quit) {
|
||||
var log = logger.createLogger('device:plugins:logcat')
|
||||
|
||||
function openService() {
|
||||
@@ -50,6 +51,7 @@ module.exports = syrup.serial()
|
||||
])
|
||||
}
|
||||
|
||||
reset()
|
||||
logcat.on('entry', entryListener)
|
||||
|
||||
router
|
||||
@@ -60,8 +62,6 @@ module.exports = syrup.serial()
|
||||
})
|
||||
})
|
||||
|
||||
reset()
|
||||
|
||||
return logcat
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user