Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove shell when calling spawn #407

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

ekse
Copy link
Contributor

@ekse ekse commented Nov 15, 2024

This fixes an issue where parts of the pattern are not passed when searching on Windows.


Important

Remove shell option from spawn in buildCommand in search.ts to fix pattern passing issue on Windows.

  • Behavior:
    • Remove shell option from spawn call in buildCommand in search.ts, affecting command execution on Windows.

This description was created by Ellipsis for 07d04a0. It will automatically update as commits are pushed.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to 07d04a0 in 12 seconds

More details
  • Looked at 12 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. src/extension/search.ts:141
  • Draft comment:
    Remove the comment about shell usage since the shell option has been removed. This avoids confusion.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.

Workflow ID: wflow_eDOkvc9SxkyjgMIT


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@HerringtonDarkholme HerringtonDarkholme merged commit 25c09ae into ast-grep:main Nov 15, 2024
1 of 4 checks passed
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