Skip to content

JSON files failing download on 2.0 themes #1015

@victor-roswell

Description

@victor-roswell

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:

  1. Run command theme download -e your_config_dev_env_name
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions