-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix add missing await on workspace edits file create #6851
Conversation
Signed-off-by: Amiram Wingarten <amiram.wingarten@sap.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amiramw I tried to create a VS Code extension which performs the same behavior as you described in the pull request, however the extension worked correctly in master
. Perhaps you can share your own extension so I can more easily test?
My extension is the following:
https://github.com/vince-fugnitto/theia-test-ext/releases/download/1.0.0/test-ext-0.0.1.vsix
@vince-fugnitto
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amiramw I updated my example extension and noticed the bug on master
.
Thanks to your update I see the correct behavior, the folder and file are created with the correct content 👍
@amiramw do you need help with the merge? |
yes. I don't have merge permissions. |
@marcdumais-work Do you know why @amiramw don't have permissions? Here is a committer. |
I do not see him as part of the org's members. When the org was crated, each committer should have received an invite, that one must accept before being granted effective write permission. But we had at least one case where a committer was not "synced" correctly and so left out. Maybe this is another instance of this? I would suggest opening a bugzilla under "community" -> "github" and ask to check why @amiramw is not part of the membership. |
@marcdumais-work should I open it? where exactly? |
Yes, that would be the most efficient since you'll need to at least validate it works in the end. Start here and select "github" as component. |
Apperently I didn't have the correct github id in my eclipse profile. Seems fine now. Thanks @marcdumais-work @akosyakov ! |
Signed-off-by: Amiram Wingarten amiram.wingarten@sap.com
What it does
Fixes a missing await for file creation done as part of workspace edits.
How to test
VS Code extension containing code like the below will create an empty file as the promise does not wait for the file to be created.
Review checklist
Reminder for reviewers