fix(reference): retain unknown kind for unsupported source entries
Keep FIFO, socket and device entries unknown instead of projecting unsupported reader entries as ordinary files. Preserve real file read-failure identity. Fixes #3218 Co-authored-by: Saim Shafique <[email protected]>
This commit is contained in:
1 parent
b57a054d5e
commit
ada133c256
2 files changed
+59
-1
No files matched your search
@@ -75,7 +75,7 @@ const failedEntry = (
|
||||
classifications,
|
||||
limitations: [limitation],
|
||||
};
|
||||
if (entry.kind === "unknown")
|
||||
if (entry.kind === "unknown" || entry.kind === "other")
|
||||
return {
|
||||
path: entry.path,
|
||||
kind: "unknown",
|
||||
|
||||
Reference in new issue
Block a user