Skip to content

Enhance error message when creating symlink where a file is already - #5237

Open
Flamefire wants to merge 1 commit into
easybuilders:developfrom
Flamefire:error-msg-symlink-exist-file
Open

Enhance error message when creating symlink where a file is already#5237
Flamefire wants to merge 1 commit into
easybuilders:developfrom
Flamefire:error-msg-symlink-exist-file

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

Currently creating a symlink will check existing symlinks if they point to the same location.
This fails if the existing path is not a link: readlink raises InvalidArgumentError

As this is not user-friendly check the path for being a link first.

Currently creating a symlink will check existing symlinks if they point
to the same location.
This fails if the existing path is not a link: `readlink` raises `InvalidArgumentError`

As this is not user-friendly check the path for being a link first.
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.

1 participant