Skip to content

[Bug]: Theme check in CLI does not report cross-file LiquidDoc errors #1022

@aswamy

Description

@aswamy

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

  • When you run shopify theme check I want to see all the theme-checks that show up in VSCode

Actual behavior

  • LiquidDoc error does show up when its within the same file
  • Cross-file LiquidDoc errors (like when one is referenced via render or content_for tag do not show up)

NOTE: This only happened on my Windows, but it works on my Mac

Image

Verbose output

  • not needed

Reproduction steps

  1. Create a snippet with LiquidDoc with at least 1 required param
  2. Render that snippet, without passing in the required args
  3. See the error in VSCode
  4. Run shopify theme check and notice it does not appear in the logs

Operating System

Windows 11

Shopify CLI version (shopify --version)

3.83.1

Shell

No response

Node version (run node -v if you're not sure)

No response

What language and version are you using in your application?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Severity: 3lowest severity for theme related bugWindows

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions