fix gitattributes deployment

This commit is contained in:
2025-11-10 20:41:48 -07:00
parent f2e3a96bf2
commit f795ea3848

View File

@@ -255,7 +255,7 @@ if ($MyInvocation.InvocationName -ne '.') {
foreach ($spec in $specs) { foreach ($spec in $specs) {
Write-Host "`n=== Updating $($spec.Name) ===" -ForegroundColor Magenta Write-Host "`n=== Updating $($spec.Name) ===" -ForegroundColor Magenta
$targets = Get-ChildItem -LiteralPath $resolvedProject -Recurse -Filter $spec.Name -File -ErrorAction SilentlyContinue $targets = Get-ChildItem -LiteralPath $resolvedProject -Recurse -Filter $spec.Name -File -Force -ErrorAction SilentlyContinue
$targets = $targets | Where-Object { $_.FullName -ne $spec.Source } $targets = $targets | Where-Object { $_.FullName -ne $spec.Source }
if (-not $targets) { if (-not $targets) {