Skip to content

fix(theme-check-node): normalise LiquidDoc paths on Windows - #1340

Open
efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/fix-cli-cross-file-liquiddoc
Open

efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/fix-cli-cross-file-liquiddoc

Conversation

@efegokdemir

Copy link
Copy Markdown

What are you adding in this PR?

On Windows, path.relative produces backslash paths for LiquidDoc definitions, while cross-file checks look them up using forward slashes. This uses the shared URI path helper and adds a regression test for Windows separators. Fixes #1022.

What's next? Any followup issues?

None.

What did you learn?

The shared path helper already normalises URI paths across platforms.

Tophatting

  • I added screenshots of the changes (before and after the changes if applicable)

Before you deploy

  • I included a patch bump changeset

@efegokdemir
efegokdemir requested a review from a team as a code owner October 16, 2026 03:06

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant