Skip to content

Commit bd43ab5

Browse files
Alex Holmbergclaude
authored andcommitted
fix: clone PathBuf to fix Windows build error
Fix "use of moved value" error in tool_management/detector.rs that only manifests on Windows CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b6f7838 commit bd43ab5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/analyzer/tool_management/detector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ impl ToolDetector {
256256
);
257257
return ToolStatus {
258258
available: true,
259-
path: Some(tool_path_exe),
259+
path: Some(tool_path_exe.clone()),
260260
execution_path: Some(tool_path_exe), // Use full path for execution
261261
version: Some(version),
262262
installation_source: source,

0 commit comments

Comments
 (0)