mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 00:53:26 +02:00
Merge branch 'master' into group-feature
This commit is contained in:
@@ -44,6 +44,7 @@ module.exports = syrup.serial()
|
||||
, identity.product
|
||||
, identity.cpuPlatform
|
||||
, identity.openGLESVersion
|
||||
, identity.marketName
|
||||
))
|
||||
])
|
||||
})
|
||||
|
||||
@@ -62,7 +62,7 @@ module.exports = syrup.serial()
|
||||
}
|
||||
|
||||
function removeResource(res) {
|
||||
return adb.shell(options.serial, ['rm', res.dest])
|
||||
return adb.shell(options.serial, ['rm', '-f', res.dest])
|
||||
.timeout(10000)
|
||||
.then(function(out) {
|
||||
return streamutil.readAll(out)
|
||||
|
||||
@@ -36,7 +36,7 @@ module.exports = syrup.serial()
|
||||
}
|
||||
|
||||
function removeResource(res) {
|
||||
return adb.shell(options.serial, ['rm', res.dest])
|
||||
return adb.shell(options.serial, ['rm', '-f', res.dest])
|
||||
.timeout(10000)
|
||||
.then(function(out) {
|
||||
return streamutil.readAll(out)
|
||||
|
||||
@@ -35,7 +35,7 @@ module.exports = syrup.serial()
|
||||
}
|
||||
|
||||
function removeResource(res) {
|
||||
return adb.shell(options.serial, ['rm', res.dest])
|
||||
return adb.shell(options.serial, ['rm', '-f', res.dest])
|
||||
.timeout(10000)
|
||||
.then(function(out) {
|
||||
return streamutil.readAll(out)
|
||||
|
||||
Reference in New Issue
Block a user