Skip to content

Conversation

@daviwil
Copy link
Contributor

@daviwil daviwil commented Sep 13, 2017

This release contains a fix for #1016, an issue which has been affecting quite a few users since VS Code 1.16.0 was released.

…on conflict

This change fixes an issue that was illuminated by the AzureRM Tools
extension where the `fs.appendFile` method provided by Node.js was not
being called with the correct number of parameters.

The AzureRM Tools extension loads up the AppInsights SDK for Node.js
which in turn loads a module called Zone.js.  Zone.js replaces built-in
Node.js modules like `fs` to instrument their function calls.  The
instrumented version of that module was not as permissive on our missing
`appendFile` parameter so it threw an exception which ultimately
prevented the PowerShell extension from loading.

This issue was fixed by populating the `callback` parameter of the
`appendFile` function so that the instrumented wrapper operates
correctly.
@daviwil daviwil added this to the 1.4.3 milestone Sep 13, 2017
@daviwil daviwil merged commit aa86c7e into PowerShell:master Sep 13, 2017
@daviwil daviwil deleted the merge-1.4.3 branch September 13, 2017 15:23
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.

2 participants