mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:23:28 +02:00
Update properties.js (#198)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
var syrup = require('@devicefarmer/stf-syrup')
|
||||
var DeviceClient = require('@devicefarmer/adbkit/dist/src/adb/DeviceClient').default
|
||||
|
||||
var logger = require('../../../util/logger')
|
||||
|
||||
@@ -9,7 +10,7 @@ module.exports = syrup.serial()
|
||||
|
||||
function load() {
|
||||
log.info('Loading properties')
|
||||
return adb.getProperties(options.serial)
|
||||
return new DeviceClient(adb, options.serial).getProperties()
|
||||
.timeout(10000)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user