We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616c145 commit cf6216bCopy full SHA for cf6216b
1 file changed
Tests/Documentation/RuleDocumentation.tests.ps1
@@ -30,7 +30,7 @@ Describe "Validate rule documentation files" {
30
$linkDefRegex = '^\[(?<ref>[^\]]+)\]:\s*(?<target>\S+)'
31
# Any reference-style usage anywhere: ...][ref]...
32
$refUsageRegex = '\]\[(?<ref>[^\]]+)\]'
33
- $lines = Get-Content 'C:\Git\PS-Src\PSScriptAnalyzer\docs\Rules\README.md'
+ $lines = Get-Content (Join-Path $ruleDocDirectory 'README.md')
34
$lineNumber = 0
35
foreach ($line in $lines) {
36
$lineNumber++
0 commit comments