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

Later Android versions seem to be asking for verification when removing files.

This commit is contained in:
Simo Kinnunen 2019-09-11 23:31:08 +09:00
parent 89f2f7d39b
commit f01dd4374a
3 changed files with 3 additions and 3 deletions

View file

@ -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)