Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove 'async' dependency, used only in errorCheck.ts, modernize file#50667

Merged
jakebailey merged 2 commits into
microsoft:mainfrom
jakebailey:remove-async
Sep 23, 2022
Merged

Remove 'async' dependency, used only in errorCheck.ts, modernize file#50667
jakebailey merged 2 commits into
microsoft:mainfrom
jakebailey:remove-async

Conversation

@jakebailey
Copy link
Copy Markdown
Member

@jakebailey jakebailey commented Sep 7, 2022

The "async" library is only used in this file; it was used to do multiple things concurrently, but in my testing on Windows and Linux, it provides no speedup. Just remove it, which lets us drop the dep.

Without the dep, nothing waits for the callbacks; just convert this to plain ol regular async code using fs/promises.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants