Skip to content

Commit d689504

Browse files
committed
Fix bug with diff updates causing failed rollbacks
Fixes #119
1 parent cc8faf0 commit d689504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodePushPackage.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ + (void)copyEntriesInFolder:(NSString *)sourceFolder
434434
}
435435
}
436436

437-
[[NSFileManager defaultManager] moveItemAtPath:fullFilePath toPath:destFileName error:error];
437+
[[NSFileManager defaultManager] copyItemAtPath:fullFilePath toPath:destFileName error:error];
438438
if (*error) {
439439
return;
440440
}
@@ -513,4 +513,4 @@ + (void)clearTestUpdates
513513
}
514514
}
515515

516-
@end
516+
@end

0 commit comments

Comments
 (0)