Skip to content

fix: createSymlink deletes the wrong file #1307

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

Closed
wants to merge 1 commit into from

Conversation

jeffmaury
Copy link
Contributor

Fixes #1306

@jeffmaury jeffmaury requested a review from coyotte508 as a code owner March 21, 2025 16:34
coyotte508 added a commit that referenced this pull request Mar 22, 2025
Alternative to #1307

Fix #1306 

I was just too confused by the src/dst params, nodej's official docs
could be clearer too.

Now the params are explictly named and there is a real test to check the
filesystem contents.

By the way, it's a `copy` operation not a `rename` (because it was
already the case, the `new_blob` param was never passed)

Also took the opportunty to use relative symlinks cc @Wauplin for better
windows support

cc @jeffmaury @axel7083
@jeffmaury jeffmaury closed this Mar 23, 2025
@jeffmaury jeffmaury deleted the GH-1306 branch March 23, 2025 08:51
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.

createSymlink is deleting the wrong file before perfoming operations
1 participant