Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Conversation

lostintangent
Copy link
Member

This PR removes the logic which explicitly sets the modified date of the JS bundle file when installing a ZIP update. This behavior was originally needed to determine precedence between a CodePush update and the binary contents, but we actually stopped relying on this a while ago, and therefore, it isn't necessary.

Additionally, this behavior causes an issue when the user releases an update whose JS bundle is read-only, and therefore, we can't mutate. By removing this logic, we can accommodate that scenario.

@geof90
Copy link
Contributor

geof90 commented Feb 25, 2016

LGTM!

lostintangent added a commit that referenced this pull request Feb 25, 2016
Removing JS bundle modified date mutation
@lostintangent lostintangent merged commit 147db4e into master Feb 25, 2016
@lostintangent lostintangent deleted the file_mutation branch February 25, 2016 22:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants