Fix bug with diff updates causing failed rollbacks

Fixes https://github.com/Microsoft/react-native-code-push/issues/119
This commit is contained in:
Geoffrey Goh
2015-12-19 17:31:09 -08:00
parent cc8faf0b4c
commit d689504d5b

View File

@@ -434,7 +434,7 @@ NSString * const UnzippedFolderName = @"unzipped";
}
}
[[NSFileManager defaultManager] moveItemAtPath:fullFilePath toPath:destFileName error:error];
[[NSFileManager defaultManager] copyItemAtPath:fullFilePath toPath:destFileName error:error];
if (*error) {
return;
}
@@ -513,4 +513,4 @@ NSString * const UnzippedFolderName = @"unzipped";
}
}
@end
@end