Skip to content

Commit

Permalink
Add logging to git log check
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Mar 15, 2024
1 parent 22e2f3c commit ba4bffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PwshSpectreConsole.Docs/src/powershell/Helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ function Get-GitCommitDatesForHashFile {
$group = Get-Group -Name $Name
$hashfileName = "_" + ($doc.Name -replace '.md$', '.sha256')
$gitHashfileName = Join-Path $group.Name $hashfileName
Write-Host "Getting git log for $gitHashfileName in cwd $OutputPath"
$dates = git log --follow --pretty="format:%ci" -- $gitHashfileName
return $dates | Sort-Object -Descending
} finally {
Expand Down

0 comments on commit ba4bffc

Please sign in to comment.