Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 6, 2025

Fixes path detection bugs in enhance_path and improves robustness of enhance_path_recursive argument handling in vendor/lib/lib_path.cmd.

Changes

  • Fixed regex patterns in enhance_path: Removed incorrect escaped quotes (\") from findstr patterns that were breaking path detection at PATH boundaries

    • Line 94: ";!find_query!\"$"";!find_query!$"
    • Line 100: "^\"!find_query!;""^!find_query!;"
  • Enhanced enhance_path_recursive argument parsing: Added robust handling for both public ([dir_path] [max_depth] [append]) and internal recursive ([dir_path] [depth] [max_depth] [append]) call forms with proper defaults (depth=0, max_depth=1)

  • Removed redundant assignment: Deleted unnecessary set "PATH=%PATH%" at end of enhance_path_recursive


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Improve path enhancement handling in lib_path.cmd Fix regex escaping and argument parsing in lib_path.cmd Nov 6, 2025
Copilot AI requested a review from DRSDavidSoft November 6, 2025 15:01
Copilot finished work on behalf of DRSDavidSoft November 6, 2025 15:01
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.

2 participants