Skip to content

Conversation

@mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Nov 10, 2025

What does this PR do?

Node variant of TreeContainer does all the "fs" stuff. It does it in context of cwd which is undefined on web.

This change lets a tree's ctor define cwd so web extensions can use it with the project path as cwd, for source tracking

I think this could be helpful for testing and other "I don't want cwd" scenarios :shrug

Testing note: this is well-covered with existing tests that don't use the cwd option (I know because all the snapshots broke with my original version of this) b2d8938

What issues does this PR fix or reference?

@W-20175875@

@mshanemc mshanemc merged commit 6dd7c70 into main Nov 11, 2025
50 checks passed
@mshanemc mshanemc deleted the sm/more-web-fixes-imports branch November 11, 2025 01:19
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.

4 participants