Skip to content

Don't add external module completions in a pure commonjs file#22583

Merged
1 commit merged into
masterfrom
completionsImport_require
Mar 15, 2018
Merged

Don't add external module completions in a pure commonjs file#22583
1 commit merged into
masterfrom
completionsImport_require

Conversation

@ghost

@ghost ghost commented Mar 14, 2018

Copy link
Copy Markdown

Fixes #22574

@ghost ghost requested a review from amcasey March 14, 2018 21:41
@amcasey

amcasey commented Mar 14, 2018

Copy link
Copy Markdown
Member

I know @RyanCavanaugh has thoughts on this.

@amcasey amcasey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but please confirm with Ryan.

@ghost ghost requested a review from RyanCavanaugh March 14, 2018 22:19
@RyanCavanaugh

Copy link
Copy Markdown
Member

I'm fine with a bugfix for not including them since the current behavior is wrong, but we could also consider synthesizing

const { readFile } = require('fs');

as a stretch goal at a later date.

@ghost

ghost commented Mar 15, 2018

Copy link
Copy Markdown
Author

Filed #22602

@ghost ghost merged commit 85e9cce into master Mar 15, 2018
@ghost ghost deleted the completionsImport_require branch March 15, 2018 15:13
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants