fix: set pwsh dvc exec capabilities flag only when pwsh is present#1867
fix: set pwsh dvc exec capabilities flag only when pwsh is present#1867Vladyslav Nikonov (vnikonov-devolutions) wants to merge 1 commit into
Conversation
Let maintainers know that an action is required on their side
|
There was a problem hiding this comment.
Pull request overview
Conditionally advertises and executes PowerShell 7 DVC support based on executable discovery.
Changes:
- Detects
pwsh.exeat DVC startup. - Gates capabilities and execution using the resolved path.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| std::env::split_paths(&path_var) | ||
| .filter(|dir| !dir.as_os_str().is_empty()) | ||
| .map(|dir| dir.join("pwsh.exe")) | ||
| .find(|candidate| candidate.is_file()) |
No description provided.