tabrindle / envinfo

Generate a report about your development environment for debugging and issue reporting
MIT License
753 stars 58 forks source link

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

Open kou029w opened 3 months ago

kou029w commented 3 months ago

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.

gengjiawen commented 3 months ago

eplaces the home directory with ~

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

kou029w commented 2 months ago

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.