Skip to content

Commit

Permalink
(GH-70) Added summary information about rule
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Feb 13, 2019
1 parent 0b71c68 commit 703134c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Chocolatey.Language.Server/DiagnosticsHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public void PublishDiagnostics(Uri uri, Buffer buffer)
});
}

/// <summary>
/// Handler to validate that no templated values remain in the nuspec.
/// </summary>
/// <seealso href="https://github.com/chocolatey/package-validator/blob/master/src/chocolatey.package.validator/infrastructure.app/rules/NuspecDoesNotContainTemplatedValuesRequirement.cs">Package validator requirement for templated values.</seealso>
private IEnumerable<Diagnostic> NuspecDoesNotContainTemplatedValuesRequirement(XmlDocumentSyntax syntaxTree, TextPositions textPositions)
{
foreach (var node in syntaxTree.DescendantNodesAndSelf().OfType<XmlTextSyntax>())
Expand Down

0 comments on commit 703134c

Please sign in to comment.