fix: do not use AccessPath / Location.Path() except in special cases

Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
Keith Zantow
2026-10-22 10:17:02 -04:00
parent deedaf6125
commit 3149fffada
27 changed files with 48 additions and 55 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ func (c *archiveCataloger) processArchive(ctx context.Context, parentResolver fi
if err != nil {
return err
}
defer internal.CloseAndLogError(content, location.AccessPath)
defer internal.CloseAndLogError(content, location.FullNestedPath())
var archiveContent io.Reader = content
if !candidate.sniffedAsArchive {