Skip to content

Conversation

@EmilyBZhang
Copy link

  • Run tests
  • Update the CHANGELOG.md with a summary of your changes

Currently, tilde expansion (where paths expand ~ to a user's home directory) works for macOS but not Linux. This change adds that functionality to Linux platforms.

@auto-assign auto-assign bot requested a review from ntotten June 14, 2025 20:27
@ntotten ntotten requested a review from Copilot November 27, 2025 14:10
Copilot finished reviewing on behalf of ntotten November 27, 2025 14:11
Copy link
Contributor

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.

Pull request overview

This PR extends tilde expansion functionality for home directory paths (~) from macOS to also support Linux platforms. This allows Linux users to use paths like ~/.prettierrc in their configuration, matching the behavior already available on macOS.

  • Updated platform check to include Linux alongside macOS
  • Updated code comment to reflect Linux support
  • Added changelog entry for the new feature

Reviewed changes

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

File Description
src/util.ts Extended platform check in getWorkspaceRelativePath to include Linux for tilde expansion support
CHANGELOG.md Added entry documenting the new Linux tilde expansion feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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