Checksum inconsistencies for JSON assets prevents files being skipped
Describe the bug
The latest version of Theme Kit does not seem to handle some JSON files. It calculates a different checksum locally than on the server, so files without changes are still uploaded/downloaded, even if they haven't changed.
To Reproduce Steps to reproduce the behavior:
- Add a new Simple theme for a store, and configure Theme Kit with its theme ID.
- Run
theme download. - Run
theme downloada second time.
Expected behavior
Most files should be skipped, but the JSON files will be re-downloaded.
Environment (please complete the following information):
- Mac OS X
- Theme Kit v1.1.1
Additional context
This may be theme dependent, or only affect newer themes – I previously tested against other themes and didn't run into this.
Might be something to do with encoding or escaping. But I prevented all my locales/*.json files redownloading for no apparent reason every time by deploying all the local files which weren't being skipped. Haven't noticed any side effects.