1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 03:50:04 +02:00

Don't exclude anything from logcat unless filters are given.

This commit is contained in:
Simo Kinnunen 2014-05-12 19:16:49 +09:00
parent 9e98bb1525
commit 2183bbba49

View file

@ -64,12 +64,14 @@ module.exports = syrup.serial()
if (plugin.isRunning()) {
activeLogcat
.resetFilters()
.excludeAll()
if (filters.length) {
activeLogcat.excludeAll()
filters.forEach(function(filter) {
activeLogcat.include(filter.tag, filter.priority)
})
}
}
else {
throw new Error('Logcat is not running')
}