-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Remove fs-plus
from atom-protocol-handler
#170
Remove fs-plus
from atom-protocol-handler
#170
Conversation
This PR looks great, and is absolutely something I think we should be be doing. But I just want to confirm were you personally able to test that things still worked when using this? Such as opening a specific folder or file with the editor still loaded fine? |
@confused-Techie To answer your question. I was not able to test this properly. |
So while as you probably guessed, seems nobody got the chance to test this. If you are willing I'd appreciate either opening up this PR to maintainers to push to, or if you could update it from the That way we can grab our new test system, and can see at a much quicker glance if this is working as intended. Since I'd love to finally clear our usage of |
Mantainers should be able to edit this pr. |
fs-plus
from atom-protocol-handler
Alright, since this PR has seen nearly zero activity, I've gone ahead and made some changes. Since this PR originally did two things:
Now, the original author was unsure of how to test things still work while using async handling, I've opted rather than finding a way to test this, to remove the async part of this PR. Since really, I'm willing to assume that turning components of Pulsar into async will require more than just making the function async, where we need to ensure other aspects now know to wait on this happening. So I've just gone ahead and opted to move forward with removing |
Now that I have looked at the code again I know why I was confident to make the change: It is a callback function. |
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.
Seems to have fixed the editor tests! 👍
If all the other CI tests pass, then LGTM. (Review approve is assuming tests pass.)
This replaces the uses of sync with async. It also removes a use of
fs-plus