Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 88dbd41777e6925567821cc2b82af1b082c985b9
parent a01e3604dca7fb7b146fb5aebdf4519a69989052
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Thu,  1 Oct 2026 21:16:57 -0400

umtool: isMediaLink's parameter type names the dirent's name (tsc)

The previous commit (a01e3604) left report-to-video's tsc red on this
signature; this restores it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Diffstat:
Mumtool/lib/media.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/umtool/lib/media.ts b/umtool/lib/media.ts @@ -88,7 +88,7 @@ const MIN_INTERESTING = 256 * 1024; /** The project directories that may be links to the media root (U2 adds deliverables). */ const MEDIA_LINKS = new Set(["out"]); -async function isMediaLink(e: { isSymbolicLink(): boolean }, abs: string): Promise<boolean> { +async function isMediaLink(e: { name: string; isSymbolicLink(): boolean }, abs: string): Promise<boolean> { if (!MEDIA_TIERED || !e.isSymbolicLink() || !MEDIA_LINKS.has(e.name)) return false; const real = await realpath(abs).catch(() => null); if (!real || !inside(MEDIA_ROOT, real)) return false;