Skip to content

Commit cf6216b

Browse files
committed
fix path to README
1 parent 616c145 commit cf6216b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/Documentation/RuleDocumentation.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Describe "Validate rule documentation files" {
3030
$linkDefRegex = '^\[(?<ref>[^\]]+)\]:\s*(?<target>\S+)'
3131
# Any reference-style usage anywhere: ...][ref]...
3232
$refUsageRegex = '\]\[(?<ref>[^\]]+)\]'
33-
$lines = Get-Content 'C:\Git\PS-Src\PSScriptAnalyzer\docs\Rules\README.md'
33+
$lines = Get-Content (Join-Path $ruleDocDirectory 'README.md')
3434
$lineNumber = 0
3535
foreach ($line in $lines) {
3636
$lineNumber++

0 commit comments

Comments
 (0)