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

feat: integrated utils.condensePath into utils.which #259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kou029w
Copy link

@kou029w kou029w commented May 28, 2024

fixed #151

Removed utils.condensePath and updated all references to use the enhanced utils.which, which now replaces the home directory with ~. Updated and added tests to ensure functionality.

fixed tabrindle#151

Removed `utils.condensePath` and updated all references to use the enhanced `utils.which`, which now replaces the home directory with ~. Updated and added tests to ensure functionality.
@gengjiawen
Copy link
Collaborator

eplaces the home directory with ~

this is really a bad idea the way I see it. Can you revert this part.

@kou029w
Copy link
Author

kou029w commented Jul 19, 2024

Thank you for your feedback. I understand your concern about replacing the home directory with ~. Could you please elaborate on the issues you foresee with this approach?

My initial reasoning was to ensure consistency across various environments and to obscure user-specific paths. However, I am open to reverting this change if there are significant drawbacks.

Looking forward to your detailed input so we can find the best solution.

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.

utils.condensePath isn't used everywhere utils.which is
2 participants