fix gitattributes deployment
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user