Skip to content

Commit

Permalink
Merge branch 'master' into TIMOB-28263
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Dec 15, 2020
2 parents 52277ab + 50d08ce commit b8c2cdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/lib/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,9 @@ class DeviceTestDetails {
if (this.target === 'device') {
await exec(`adb -s ${await this.deviceId()} shell "run-as ${APP_ID} cat '${filepath}'" > ${dest}`);
} else {
await exec(`adb -e shell "run-as ${APP_ID} cat '${filepath}'" > ${dest}`);
// await exec(`adb -e shell "run-as ${APP_ID} cat '${filepath}'" > ${dest}`);
// Using cat as above on some emulators (especially older ones) mangles image files
await exec(`adb -e pull ${filepath} ${dest}`);
}
return dest;
}
Expand Down

0 comments on commit b8c2cdd

Please sign in to comment.