Skip to content

refactor(fmt): centralize path helpers - #212

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-fmt-path-helpers
Aug 6, 2026
Merged

refactor(fmt): centralize path helpers#212
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-fmt-path-helpers

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Path normalization is currently defined inside discovery even though CLI reporting needs the same conversion. This PR renames relativePath.ts to pathHelpers.ts, centralizes toPosixPath with a platform-selected implementation, and reuses it across discovery and CLI without changing output.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 47f8106
Status: ✅  Deploy successful!
Preview URL: https://b0e8324b.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-refactor-fmt-path.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 133c057 into main Aug 6, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/refactor-fmt-path-helpers branch August 6, 2026 03:13
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