Skip to content

Fix a bug where provide comment help is raised for non exported functions #32

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

Merged
merged 1 commit into from
Apr 15, 2015

Conversation

quoctruong
Copy link

No description provided.

@@ -31,6 +32,8 @@ namespace Microsoft.Windows.Powershell.ScriptAnalyzer.BuiltinRules
[Export(typeof(IScriptRule))]
public class ProvideCommentHelp : SkipTypeDefinition, IScriptRule
{
Copy link
Member

Choose a reason for hiding this comment

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

Does this work if the functions are exported in the manifest psd1?

Copy link
Author

Choose a reason for hiding this comment

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

This implementation does not look at psd1 file.

@raghushantha
Copy link
Member

I think it is fine for now. Analyzing psm1 based on psd1 is a new feature by itself. Something to put in backlog.

@raghushantha
Copy link
Member

pls merge. changes are good.

@quoctruong
Copy link
Author

Thanks! Merged

quoctruong pushed a commit that referenced this pull request Apr 15, 2015
Fix a bug where provide comment help is raised for non exported functions
@quoctruong quoctruong merged commit 849442c into BugFixes Apr 15, 2015
@quoctruong quoctruong deleted the FixProvideCommentHelp branch April 16, 2015 20:18
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