Skip to content

Commit

Permalink
Update eng/common/scripts/get-markdown-files-from-changed-files.ps1
Browse files Browse the repository at this point in the history
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
  • Loading branch information
2 people authored and azure-sdk committed Nov 11, 2020
1 parent ac27d69 commit 152f475
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $changedMarkdowns = $changedMarkdowns | Where-Object { $deletedFiles -notcontain
$markdownContainLinks = @()
$allMarkdownFiles = Get-ChildItem -Path $RootRepo -Recurse -Include *.md
foreach ($f in $allMarkdownFiles) {
$filePath = $f.ToString()
$filePath = $f.FullName
$content = Get-Content -Path $filePath -Raw
foreach ($l in $relativePathLinks) {
if ($content -match $l) {
Expand Down

0 comments on commit 152f475

Please sign in to comment.