Skip to content

[Synced PR #2118] fix(cli): resolve Windows path separator mapping in build-registry #2117 - #45

Open
tmdeveloper007 wants to merge 1 commit into
mainfrom
mavis/termui-pr-2118-20260730013909
Open

[Synced PR #2118] fix(cli): resolve Windows path separator mapping in build-registry #2117#45
tmdeveloper007 wants to merge 1 commit into
mainfrom
mavis/termui-pr-2118-20260730013909

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Owner

Upstream PR: Karanjot786/TermUI#2118

Original Author: itssagarK
State: Closed ✗
Merge Commit SHA: 35f90873f71abc55f6265e70fbcda88ed0c94881
Labels: type:bug, stale


PR description:

closes Issue Karanjot786#2117
Description:
Normalizes backslashes in file paths to forward slashes before checking folder patterns in detectCategory, detectPackage, and scanDirectory inside scripts/build-registry.ts.

Changes:

  • Replaces all \ with / in paths before checking substrings.
  • Normalizes ROOT and full path bounds when stripping relative base paths in scanDirectory.

Validation:

  • Ran bun vitest run scripts/build-registry.test.ts on…

_

Synced from upstream by Mavis TermUI Bot on 2026-07-30 01:39 UTC

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.

1 participant