Merge pull request #2073 from dandoveralba/fix-reset

Correct Reset
This commit is contained in:
bootstraponline
2014-03-14 21:55:52 -04:00
+1 -1
View File
@@ -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) {