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

Deno.remove() can not remove symlink file #1947

Closed
axetroy opened this issue Mar 17, 2019 · 3 comments
Closed

Deno.remove() can not remove symlink file #1947

axetroy opened this issue Mar 17, 2019 · 3 comments

Comments

@axetroy
Copy link
Contributor

axetroy commented Mar 17, 2019

I found Deno.remove() cannot remove symlink file

This should be abnormal

Or we should need a Deno.unlink()?

@zekth
Copy link
Contributor

zekth commented Mar 20, 2019

Is there any error? i've experienced it with another program while running with non administrator permissions.

@kevinkassimo
Copy link
Contributor

Hmm I cannot reproduce this issue on my machine... is it on windows?

@axetroy
Copy link
Contributor Author

axetroy commented Apr 9, 2019

reproduce step.

echo "hello world" >> test.md
ln -s test.md test-link.md
echo 'Deno.remove("./test-link.md");' >> test.ts
deno test.ts --allow-all

I test again. it works in Deno@0.3.6

@axetroy axetroy closed this as completed Apr 9, 2019
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

No branches or pull requests

3 participants