Fixed output of .bat file list (#9027)
Some checks failed
Close stale issues / stale (push) Has been cancelled

This commit is contained in:
Matvey Beloded
2026-01-12 23:44:26 +07:00
committed by GitHub
parent f5e5a858e7
commit 874b6813a8
2 changed files with 2 additions and 2 deletions

View File

@@ -384,7 +384,7 @@ $dpiTargets = Build-DpiTargets -CustomUrl $dpiCustomUrl
# Config
$targetDir = $rootDir
if (-not $targetDir) { $targetDir = Split-Path -Parent $MyInvocation.MyCommand.Path }
$batFiles = Get-ChildItem -Path $targetDir -Filter "*.bat" | Where-Object { $_.Name -notlike "service*" } | Sort-Object { [Regex]::Replace($_.Name, "\d+", { $args[0].Value.PadLeft(8, "0") }) }
$batFiles = Get-ChildItem -Path $targetDir -Filter "*.bat" | Where-Object { $_.Name -notlike "service*" } | Sort-Object { [Regex]::Replace($_.Name, "(\d+)", { $args[0].Value.PadLeft(8, "0") }) }
$globalResults = @()