themekit
themekit copied to clipboard
JSON files failing download on 2.0 themes
Describe the bug
There is a bug where theme download is not downloading any of the .json files correctly. Issue seemed to have happened overnight. The problem is present in json files that have the following warning autogenerated inside the json file via shopify. The warning can not be deleted and is auto injected by shopify.
/*
* ------------------------------------------------------------
* IMPORTANT: The contents of this file are auto-generated.
*
* This file may be updated by the Shopify admin language editor
* or related systems. Please exercise caution as any changes
* made to this file may be overwritten.
* ------------------------------------------------------------
*/
To Reproduce
Steps to reproduce the behavior:
- Run command
theme download -e your_config_dev_env_name - Seems to only be an issue on 2.0 themes with the warning comment mentioned above
Expected behavior
All theme files from the defined environment should download to your local machine
Environment
| Information | Value |
|---|---|
| OS version | macOS 13.2.1 |
| Themekit version | ThemeKit 1.3.2 darwin/amd64 |
| Editor | VSCode / Terminal |