mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-07 20:20:20 +03:00
fix(db-load-git): normalize ConfigDir with Resolve-Path for reliable Ext/ path matching
FullName returns canonical Windows paths, but ConfigDir could have forward slashes. Resolve-Path ensures consistent format so the Replace() in Ext/ recursion always matches. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5414ac373e
commit
733418e630
@@ -165,7 +165,8 @@ try {
|
|||||||
|
|
||||||
# --- Get changed files from Git ---
|
# --- Get changed files from Git ---
|
||||||
$changedFiles = @()
|
$changedFiles = @()
|
||||||
$configDirNormalized = $ConfigDir.TrimEnd('\', '/').Replace('\', '/')
|
$ConfigDir = (Resolve-Path $ConfigDir).Path.TrimEnd('\')
|
||||||
|
$configDirNormalized = $ConfigDir.Replace('\', '/')
|
||||||
|
|
||||||
Push-Location $ConfigDir
|
Push-Location $ConfigDir
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user