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

Load ETW module from a specified path #39599

Merged
merged 1 commit into from Jul 14, 2020

Conversation

mrcrane
Copy link
Contributor

@mrcrane mrcrane commented Jul 14, 2020

Do not rely on the default module resolution algorithm to load the optional typescript-etw module. Load it from the node_modules path that is local to the running server. This is where it is shipped with the Windows TypeScript SDK.

Also allow the path to be specified with the TS_ETW_MODULE_PATH environment variable. This will enable new use cases, e.g. VS Code.

@RyanCavanaugh
Copy link
Member

@typescript-bot cherry-pick this to release-3.9

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jul 14, 2020

Heya @RyanCavanaugh, I've started to run the task to cherry-pick this into release-3.9 on this PR at c8d5b98. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, I've opened #39601 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path
@RyanCavanaugh
Copy link
Member

@typescript-bot cherry-pick this to release-3.9

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jul 14, 2020

Heya @RyanCavanaugh, I've started to run the task to cherry-pick this into release-3.9 on this PR at c8d5b98. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-3.9 manually.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path
RyanCavanaugh pushed a commit that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path

Co-authored-by: Michael Crane <micran@microsoft.com>
@RyanCavanaugh RyanCavanaugh merged commit f68a839 into microsoft:master Jul 14, 2020
@DanielRosenwasser DanielRosenwasser added this to the TypeScript 3.9.7 milestone Jul 16, 2020
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

Successfully merging this pull request may close these issues.

None yet

4 participants