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

[Fylesystem] Fixed error on handling of nsfw RENAMED event #6283

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

federicobozzini
Copy link
Contributor

The typing of a nsfw RENAMED event is incomplete. When a file is moved, Theia handles the event incorrectly.

What it does

This PR fixes the typing of the nfws events and handles the file moving correctly.

How to test

Open Theia with a debugger and move a file. It's possible to see that the nfws event received has a newDirectory property that at the moment was not used.

Review checklist

Reminder for reviewers

@federicobozzini federicobozzini changed the title [Fylesystem] Fixed error on handling of nsfw renamed event [Fylesystem] Fixed error on handling of nsfw RENAMED event Sep 27, 2019
@akosyakov
Copy link
Member

@federicobozzini good catch, but i'm unsure that directory should be ignored. It would be good to investigate whether it is true that newDirectory is always present.

@akosyakov akosyakov added the filesystem issues related to the filesystem label Sep 27, 2019
Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@akosyakov
Copy link
Member

akosyakov commented Oct 1, 2019

@federicobozzini please squash commits and sign them then we can merge it, thank you!

@federicobozzini
Copy link
Contributor Author

Done. Thank you!

@akosyakov akosyakov merged commit cbdcf69 into eclipse-theia:master Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filesystem issues related to the filesystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants