Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ private static Hashtable GetCommentHelpRuleSettings(string helpLocation, bool fo
{ "BlockComment", forBlockComment },
{ "VSCodeSnippetCorrection", true },
{ "Placement", helpLocation }}
}}
}};
}}},
{ "IncludeRules", "PSProvideCommentHelp" }};
}

#region IDisposable Support
Expand All @@ -505,7 +505,7 @@ protected virtual void Dispose(bool disposing)
{
if (_analysisEngineLazy != null
&& _analysisEngineLazy.IsValueCreated)
{
{
_analysisEngineLazy.Value.Dispose();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,13 @@ public async Task CanSendGetCommentHelpRequest()
string scriptPath = NewTestFile(@"
function CanSendGetCommentHelpRequest {
param(
[string]
$myParam
$myParam,
$myOtherParam,
$yetAnotherParam
)

# Include other problematic code to make sure this still works
gci
}
");

Expand Down