1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00

Allow the cleanup plugin to be disabled. Resolves #346 and others. May

need a more generic method to disable individual plugins later.
This commit is contained in:
Simo Kinnunen 2016-06-07 00:42:29 +09:00
parent 5abecb18f2
commit 158b6944be
2 changed files with 14 additions and 1 deletions

View file

@ -12,6 +12,10 @@ module.exports = syrup.serial()
var log = logger.createLogger('device:plugins:cleanup')
var plugin = Object.create(null)
if (!options.cleanup) {
return plugin
}
function listPackages() {
return adb.getPackages(options.serial)
}