mirror of
https://github.com/appium/appium.git
synced 2026-04-28 22:40:34 -05:00
@@ -990,7 +990,7 @@ IOS.prototype.cleanupAppState = function (cb) {
|
||||
}.bind(this);
|
||||
if (files.length) {
|
||||
for (var i = 0; i < files.length; i++) {
|
||||
if (this.keepAppToRetainPrefs) {
|
||||
if (!this.keepAppToRetainPrefs) {
|
||||
rimraf.sync(files[i]);
|
||||
logger.info("Deleted " + files[i]);
|
||||
if (i === 0 && this.args.keepKeyChains) {
|
||||
|
||||
Reference in New Issue
Block a user