Skip to content

feat: support tilde expansion#146

Merged
dsherret merged 7 commits intodenoland:mainfrom
dsherret:feat_support_tilde_expansion
Apr 9, 2025
Merged

feat: support tilde expansion#146
dsherret merged 7 commits intodenoland:mainfrom
dsherret:feat_support_tilde_expansion

Conversation

@dsherret
Copy link
Member

@dsherret dsherret commented Apr 9, 2025

@dsherret dsherret requested review from Copilot and nathanwhit April 9, 2025 17:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

src/shell/execute.rs:753

  • [nitpick] Consider checking the capitalization in the error message for consistency with other error messages in the enum. If the style guide requires initial capitalization, update the message accordingly.
  #[error("invalid utf-8: {}", err)]

Cargo.toml:28

  • [nitpick] Please confirm that the inclusion of the 'winapi' and 'libc' features for sys_traits is intentional and that relevant platform-specific behaviors are covered by tests.
sys_traits = { version = "0.1.9", features = ["real", "winapi", "libc"] }

@dsherret dsherret removed the request for review from nathanwhit April 9, 2025 17:47
@dsherret dsherret marked this pull request as draft April 9, 2025 17:48
@dsherret dsherret marked this pull request as ready for review April 9, 2025 18:09
@dsherret dsherret requested a review from nathanwhit April 9, 2025 18:09
return ParseError::fail(
original_input,
"Unsupported tilde expansion.",
);
Copy link
Member Author

Choose a reason for hiding this comment

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

There's lots of different kinds of tilde expansion. I don't think they're all worth supporting: https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html

Copy link
Member

@nathanwhit nathanwhit left a comment

Choose a reason for hiding this comment

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

LGTM

@dsherret dsherret merged commit 0d11591 into denoland:main Apr 9, 2025
4 checks passed
@dsherret dsherret deleted the feat_support_tilde_expansion branch April 9, 2025 21:18
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.

3 participants