-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
lowAin't annoying anyone but the QA departmentAin't annoying anyone but the QA department
Description
Description
Consider adding a zero-argument constructor for PathGuard that captures the current PATH automatically, so callers using the real environment don't have to fetch and pass it manually.
This would improve the ergonomics of the API for common use cases where users just want to temporarily modify the PATH and have it restored automatically.
Context
This suggestion came up during the review of PR #105 which refactored PathGuard for injectable env and added mock testing.
Backlinks
- PR: Refactor PathGuard for injectable env and add mock test #105
- Comment: Refactor PathGuard for injectable env and add mock test #105 (comment)
Requested by: @leynos
Metadata
Metadata
Assignees
Labels
lowAin't annoying anyone but the QA departmentAin't annoying anyone but the QA department