mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
fix(engine,producer): render media readers skip private project files and text-art input (#7928)
* fix(engine,producer): render media readers treat private project files as missing A video, audio, GIF or HEIC src that names a file the file servers refuse (git metadata, env, credentials, tool state, app records), as written or through a link, is now treated as missing by every render-time reader: the compile-time duration probe and keyframe advisory, GIF and HEIC prep, the media drop step, the HDR probe, frame extraction and the audio mixer. The engine's isPrivateUnderAssetRoots judges a path from every asset root that holds it, so a render's own work folder inside the project's .hyperframes/ keeps its downloaded and prepared files. * fix(engine): probe refuses a text file that ffmpeg reads as text-art video ffmpeg's tty and bintext demuxers turn a text file (such as .asc or .nfo) into a video stream that draws the text into frames. Every probe now refuses an input whose container is tty or whose video codec is ansi, bintext, xbin or idf, as not media. Probing, frame extraction and audio reads all go through the same probe, on every render. No demuxer for real video or audio produces these, so local renders keep every other format. * fix(engine,producer,cli): playlist entries and check probes skip private files - A media playlist (HLS segment, key or map URI, ffconcat file) that names a private file inside its own folder is refused as not media, like one that names a file outside it. - `hyperframes check` no longer probes a media source outside the project or private in it: mediaPath returns null for such a file and the audio, heard-clip and HDR checks skip it. - The compiler's duration probe and keyframe check judge privacy from every asset root, as the render-time readers do.
This commit is contained in:
@@ -441,7 +441,11 @@ export {
|
||||
type PublicHttpsTextOptions,
|
||||
} from "./utils/urlDownloader.js";
|
||||
export { isBlockedNetworkHost } from "./utils/networkPolicy.js";
|
||||
export { isInsideAssetRoots } from "./utils/assetRoots.js";
|
||||
export {
|
||||
assetRootsRefusal,
|
||||
isInsideAssetRoots,
|
||||
isPrivateUnderAssetRoots,
|
||||
} from "./utils/assetRoots.js";
|
||||
export { onRenderRefusal } from "./services/publicNetwork/captureProxy.js";
|
||||
export type { RefusedHostClass } from "./services/publicNetwork/publicNetwork.js";
|
||||
export {
|
||||
|
||||
@@ -309,6 +309,37 @@ describe("processCompositionAudio", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it.each([".git/music.mp3", ".hyperframes/music.mp3", ".claude/music.mp3", "keys/id_rsa"])(
|
||||
"never opens the private project file %s as an audio source",
|
||||
async (src) => {
|
||||
const baseDir = mkdtempSync(join(tmpdir(), "hf-audio-private-"));
|
||||
const workDir = mkdtempSync(join(tmpdir(), "hf-audio-work-"));
|
||||
tempDirs.push(baseDir, workDir);
|
||||
mkdirSync(join(baseDir, src, ".."), { recursive: true });
|
||||
writeFileSync(join(baseDir, src), "not for the render");
|
||||
|
||||
const result = await processCompositionAudio(
|
||||
[{ id: "bed", src, start: 0, end: 2, mediaStart: 0, layer: 0, volume: 1, type: "audio" }],
|
||||
baseDir,
|
||||
workDir,
|
||||
join(workDir, "out.m4a"),
|
||||
2,
|
||||
undefined,
|
||||
{ assetRoots: [baseDir] },
|
||||
);
|
||||
|
||||
expect(result.failures).toEqual([
|
||||
expect.objectContaining({
|
||||
reason: "source_not_found",
|
||||
elementId: "bed",
|
||||
detail: "Audio element bed source is a private project file",
|
||||
}),
|
||||
]);
|
||||
expect(extractAudioMetadataMock).not.toHaveBeenCalled();
|
||||
expect(runFfmpegMock.mock.calls.flat(2)).not.toContain(join(baseDir, src));
|
||||
},
|
||||
);
|
||||
|
||||
it.each([
|
||||
{
|
||||
message: "AbortError: ffprobe operation aborted",
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
type AudioMetadata,
|
||||
} from "../utils/ffprobe.js";
|
||||
import { isNotMediaPayload } from "../utils/notMediaPayload.js";
|
||||
import { isInsideAssetRoots } from "../utils/assetRoots.js";
|
||||
import { assetRootsRefusal } from "../utils/assetRoots.js";
|
||||
import { urlInputArgs } from "../utils/urlInput.js";
|
||||
import { clampAudioGain, clipGain } from "@hyperframes/core/audio-gain";
|
||||
import { clampFadesToDuration, readElementFades } from "@hyperframes/core/audio-fade";
|
||||
@@ -1434,7 +1434,7 @@ export async function processCompositionAudio(
|
||||
urlByAbsentLocalPath?: ReadonlyMap<string, string>;
|
||||
audioSidecarUrlByLocalPath?: ReadonlyMap<string, string>;
|
||||
keepEncoderInputAt?: string;
|
||||
/** Folders a local source must be in; one outside them is never opened. Unset allows any folder. */
|
||||
/** Folders a local source must be in; one outside them, or private there, is never opened. Unset allows any folder. */
|
||||
assetRoots?: readonly string[];
|
||||
},
|
||||
compiledDir?: string,
|
||||
@@ -1500,18 +1500,21 @@ export async function processCompositionAudio(
|
||||
audioSidecarUrl = config?.audioSidecarUrlByLocalPath?.get(srcPath);
|
||||
srcPath = remoteUrl;
|
||||
readInPlace = true;
|
||||
} else if (config?.assetRoots && !isInsideAssetRoots(srcPath, config.assetRoots)) {
|
||||
failures.push({
|
||||
stage: "source",
|
||||
reason: "source_not_found",
|
||||
owner: "user",
|
||||
retryable: false,
|
||||
elementId: element.id,
|
||||
detail: boundedDetail(
|
||||
`Audio element ${element.id} source is outside the project folder`,
|
||||
),
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
const refusal = config?.assetRoots
|
||||
? assetRootsRefusal(srcPath, config.assetRoots)
|
||||
: null;
|
||||
if (refusal) {
|
||||
failures.push({
|
||||
stage: "source",
|
||||
reason: "source_not_found",
|
||||
owner: "user",
|
||||
retryable: false,
|
||||
elementId: element.id,
|
||||
detail: boundedDetail(`Audio element ${element.id} source is ${refusal}`),
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -691,6 +691,49 @@ describe("video extraction failure taxonomy and bounded retry", () => {
|
||||
rmSync(dir, { recursive: true, force: true });
|
||||
}
|
||||
});
|
||||
|
||||
it.skipIf(!HAS_FFMPEG)("refuses a text file that ffmpeg would draw as video", async () => {
|
||||
const dir = mkdtempSync(join(tmpdir(), "hf-extract-text-art-"));
|
||||
try {
|
||||
writeFileSync(join(dir, "notes.nfo"), "API_TOKEN=not-for-the-frame\nhello\n");
|
||||
const video = { id: "v1", src: "notes.nfo", start: 0, end: 1, mediaStart: 0, loop: false };
|
||||
const extraction = extractAllVideoFrames([{ ...video, hasAudio: false }], dir, {
|
||||
fps: 30,
|
||||
outputDir: join(dir, "out"),
|
||||
assetRoots: [dir],
|
||||
});
|
||||
await expect(extraction).rejects.toThrow(/text file, not a media container/);
|
||||
} finally {
|
||||
rmSync(dir, { recursive: true, force: true });
|
||||
}
|
||||
});
|
||||
|
||||
it.each([".git/clip.mp4", ".hyperframes/clip.mp4", ".ssh/clip.mp4"])(
|
||||
"treats the private project file %s as a missing source",
|
||||
async (src) => {
|
||||
const dir = mkdtempSync(join(tmpdir(), "hf-extract-private-"));
|
||||
try {
|
||||
mkdirSync(join(dir, src, ".."), { recursive: true });
|
||||
writeFileSync(join(dir, src), "not for the render");
|
||||
const video = { id: "v1", src, start: 0, end: 1, mediaStart: 0, loop: false };
|
||||
const result = await extractAllVideoFrames([{ ...video, hasAudio: false }], dir, {
|
||||
fps: 30,
|
||||
outputDir: join(dir, "out"),
|
||||
assetRoots: [dir],
|
||||
});
|
||||
expect(result.extracted).toEqual([]);
|
||||
expect(result.errors).toEqual([
|
||||
expect.objectContaining({
|
||||
videoId: "v1",
|
||||
kind: "source_missing",
|
||||
error: `Video source is a private project file: ${src}`,
|
||||
}),
|
||||
]);
|
||||
} finally {
|
||||
rmSync(dir, { recursive: true, force: true });
|
||||
}
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
// Codec-based alpha defaulting replaces tag-based detection (the
|
||||
|
||||
@@ -15,7 +15,7 @@ import { parseHTML } from "linkedom";
|
||||
import { HF_COLOR_GRADING_ATTR } from "@hyperframes/core";
|
||||
import { isPathInside } from "@hyperframes/parsers/asset-paths";
|
||||
import { resolveProjectRelativeSrc } from "@hyperframes/parsers/asset-resolution";
|
||||
import { isInsideAssetRoots } from "../utils/assetRoots.js";
|
||||
import { assetRootsRefusal } from "../utils/assetRoots.js";
|
||||
import { alphaDecoderFor } from "@hyperframes/parsers/media-alpha";
|
||||
import {
|
||||
MEDIA_RENDER_ID_ATTR,
|
||||
@@ -319,7 +319,7 @@ export interface ExtractionOptions {
|
||||
/** Directories the caller rewrites on every render (downloaded media); their sources are cached by content. */
|
||||
contentKeyedDirs?: readonly string[];
|
||||
urlByAbsentLocalPath?: ReadonlyMap<string, string>;
|
||||
/** Folders a local source must be in; one outside them is never opened. Unset allows any folder. */
|
||||
/** Folders a local source must be in; one outside them, or private there, is never opened. Unset allows any folder. */
|
||||
assetRoots?: readonly string[];
|
||||
shownBox?: { width: number; height: number };
|
||||
shownBoxes?: ReadonlyMap<string, { width: number; height: number }>;
|
||||
@@ -2275,12 +2275,13 @@ export async function extractAllVideoFrames(
|
||||
continue;
|
||||
}
|
||||
const roots = options.assetRoots;
|
||||
if (!isHttpUrl(videoPath) && roots && !isInsideAssetRoots(videoPath, roots)) {
|
||||
const refusal = !isHttpUrl(videoPath) && roots ? assetRootsRefusal(videoPath, roots) : null;
|
||||
if (refusal) {
|
||||
errors.push({
|
||||
videoId: video.id,
|
||||
kind: "source_missing",
|
||||
retryable: false,
|
||||
error: `Video source is outside the project folder: ${video.src}`,
|
||||
error: `Video source is ${refusal}: ${video.src}`,
|
||||
});
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
import { mkdirSync, mkdtempSync, rmSync, symlinkSync, writeFileSync } from "node:fs";
|
||||
import { tmpdir } from "node:os";
|
||||
import { dirname, join } from "node:path";
|
||||
import { afterAll, describe, expect, it } from "vitest";
|
||||
import { assetRootsRefusal, isPrivateUnderAssetRoots } from "./assetRoots.js";
|
||||
|
||||
describe("isPrivateUnderAssetRoots", () => {
|
||||
const root = mkdtempSync(join(tmpdir(), "hf-asset-roots-"));
|
||||
const projectDir = join(root, "project");
|
||||
const workDir = join(projectDir, ".hyperframes", "share-renders", "work");
|
||||
const roots = [projectDir, join(workDir, "compiled"), join(workDir, "downloads")];
|
||||
const file = (rel: string) => {
|
||||
const path = join(projectDir, rel);
|
||||
mkdirSync(dirname(path), { recursive: true });
|
||||
writeFileSync(path, "x");
|
||||
return path;
|
||||
};
|
||||
afterAll(() => rmSync(root, { recursive: true, force: true }));
|
||||
|
||||
it.each([
|
||||
".git/objects/clip.mp4",
|
||||
".hyperframes/agent-handoff.mp4",
|
||||
".claude/voice.wav",
|
||||
".ssh/frames.gif",
|
||||
"keys/id_ed25519",
|
||||
"certs/server.pem",
|
||||
".env",
|
||||
])("refuses the project file %s", (rel) => {
|
||||
expect(isPrivateUnderAssetRoots(file(rel), roots)).toBe(true);
|
||||
expect(assetRootsRefusal(file(rel), roots)).toBe("a private project file");
|
||||
});
|
||||
|
||||
it("refuses a link whose target is a private project file", () => {
|
||||
const link = join(projectDir, "clip.mp4");
|
||||
symlinkSync(file(".git/config"), link);
|
||||
expect(isPrivateUnderAssetRoots(link, roots)).toBe(true);
|
||||
});
|
||||
|
||||
it("keeps project media and the render's own files inside .hyperframes", () => {
|
||||
expect(isPrivateUnderAssetRoots(file("media/clip.mp4"), roots)).toBe(false);
|
||||
expect(assetRootsRefusal(file("media/clip.mp4"), roots)).toBeNull();
|
||||
const downloaded = file(".hyperframes/share-renders/work/downloads/remote.mp4");
|
||||
expect(isPrivateUnderAssetRoots(downloaded, roots)).toBe(false);
|
||||
});
|
||||
|
||||
it("leaves a file outside every root to the containment check", () => {
|
||||
const outside = join(root, ".git", "config");
|
||||
mkdirSync(dirname(outside), { recursive: true });
|
||||
writeFileSync(outside, "x");
|
||||
expect(isPrivateUnderAssetRoots(outside, roots)).toBe(false);
|
||||
expect(assetRootsRefusal(outside, roots)).toBe("outside the project folder");
|
||||
});
|
||||
});
|
||||
@@ -1,5 +1,5 @@
|
||||
import { existsSync } from "node:fs";
|
||||
import { isSafePath } from "@hyperframes/core/safe-path";
|
||||
import { isPrivateFileUnder, isSafePath, isStudioPrivatePath } from "@hyperframes/core/safe-path";
|
||||
import { isWithinProjectRoot } from "@hyperframes/parsers/asset-resolution";
|
||||
|
||||
export function isInsideAssetRoots(path: string, roots: readonly string[]): boolean {
|
||||
@@ -7,3 +7,17 @@ export function isInsideAssetRoots(path: string, roots: readonly string[]): bool
|
||||
// A name the file system refuses, such as a long data: URL, opens nothing, so its spelling decides.
|
||||
return !existsSync(path) && roots.some((root) => isWithinProjectRoot(root, path));
|
||||
}
|
||||
|
||||
// Judged from every root holding it, since a render's own work folder may sit in the project's `.hyperframes/`.
|
||||
export function isPrivateUnderAssetRoots(path: string, roots: readonly string[]): boolean {
|
||||
const holders = roots.filter((root) => isSafePath(root, path));
|
||||
return (
|
||||
holders.length > 0 &&
|
||||
holders.every((root) => isPrivateFileUnder(root, path, isStudioPrivatePath))
|
||||
);
|
||||
}
|
||||
|
||||
export function assetRootsRefusal(path: string, roots: readonly string[]): string | null {
|
||||
if (!isInsideAssetRoots(path, roots)) return "outside the project folder";
|
||||
return isPrivateUnderAssetRoots(path, roots) ? "a private project file" : null;
|
||||
}
|
||||
|
||||
@@ -349,6 +349,56 @@ describe("probeMediaProfile", () => {
|
||||
vi.doUnmock("child_process");
|
||||
});
|
||||
|
||||
it.each([
|
||||
{ format_name: "tty", codec_name: "ansi" },
|
||||
{ format_name: "bin", codec_name: "bintext" },
|
||||
{ format_name: "xbin", codec_name: "xbin" },
|
||||
{ format_name: "idf", codec_name: "idf" },
|
||||
{ format_name: "tty", codec_name: undefined },
|
||||
])(
|
||||
"refuses a text file ffmpeg reads as $format_name video",
|
||||
async ({ format_name, codec_name }) => {
|
||||
const outcome = {
|
||||
kind: "exit" as const,
|
||||
code: 0,
|
||||
stdout: JSON.stringify({
|
||||
streams: [{ codec_type: "video", codec_name }],
|
||||
format: { format_name },
|
||||
}),
|
||||
};
|
||||
const { spawn } = createSpawnSpy([outcome, outcome]);
|
||||
vi.resetModules();
|
||||
vi.doMock("child_process", () => ({ spawn }));
|
||||
const { probeMediaProfile, extractMediaMetadata } = await import("./ffprobe.js");
|
||||
const { NotMediaPayloadError } = await import("./notMediaPayload.js");
|
||||
|
||||
await expect(probeMediaProfile("/tmp/notes-profile")).rejects.toBeInstanceOf(
|
||||
NotMediaPayloadError,
|
||||
);
|
||||
await expect(extractMediaMetadata("/tmp/notes-meta")).rejects.toThrow(/text file/);
|
||||
},
|
||||
);
|
||||
|
||||
it.skipIf(spawnSync("ffprobe", ["-version"]).status !== 0)(
|
||||
"refuses a real .asc or .nfo text file named as media",
|
||||
async () => {
|
||||
vi.resetModules();
|
||||
vi.doUnmock("child_process");
|
||||
const dir = mkdtempSync(resolve(tmpdir(), "hf-text-art-"));
|
||||
const { probeMediaProfile, extractMediaMetadata } = await import("./ffprobe.js");
|
||||
try {
|
||||
for (const name of ["notes.asc", "notes.nfo"]) {
|
||||
const path = resolve(dir, name);
|
||||
writeFileSync(path, "API_TOKEN=not-for-the-frame\nhello\n");
|
||||
await expect(probeMediaProfile(path)).rejects.toThrow(/text file/);
|
||||
await expect(extractMediaMetadata(path)).rejects.toThrow(/text file/);
|
||||
}
|
||||
} finally {
|
||||
rmSync(dir, { recursive: true, force: true });
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
it("classifies still, moving, audio-only, and mixed streams from probe data", async () => {
|
||||
const { spawn } = createSpawnSpy([
|
||||
{
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
videoStreamHasAlpha,
|
||||
} from "@hyperframes/parsers/media-alpha";
|
||||
import { urlInputArgs } from "./urlInput.js";
|
||||
import { TextArtMediaError } from "./notMediaPayload.js";
|
||||
import { decodableAudioStream, misstatesPcmByteRate } from "@hyperframes/parsers/media-streams";
|
||||
import { runFfmpeg } from "./runFfmpeg.js";
|
||||
import { FFPROBE_PATH_ENV, getFfprobeBinary } from "./ffmpegBinaries.js";
|
||||
@@ -571,7 +572,9 @@ async function probeMediaOutput(filePath: string, signal?: AbortSignal): Promise
|
||||
}
|
||||
return cached.promise;
|
||||
}
|
||||
const promise = readProbeJson(filePath, signal).then(parseProbeJson);
|
||||
const promise = readProbeJson(filePath, signal).then((json) =>
|
||||
refuseTextArt(parseProbeJson(json)),
|
||||
);
|
||||
if (identity !== null) {
|
||||
cache.set(filePath, { identity, promise });
|
||||
if (!signal && cache.size > MEDIA_PROBE_OUTPUT_CACHE_MAX_ENTRIES) {
|
||||
@@ -589,6 +592,18 @@ async function probeMediaOutput(filePath: string, signal?: AbortSignal): Promise
|
||||
|
||||
class StructurallyIncompletePngError extends Error {}
|
||||
|
||||
const TEXT_ART_CODECS = new Set(["ansi", "bintext", "xbin", "idf"]);
|
||||
|
||||
function refuseTextArt(output: FFProbeOutput): FFProbeOutput {
|
||||
const formats = (output.format?.format_name ?? "").toLowerCase().split(",");
|
||||
const drawsText = (output.streams ?? []).some(
|
||||
(stream) =>
|
||||
stream.codec_type === "video" && TEXT_ART_CODECS.has(stream.codec_name?.toLowerCase() ?? ""),
|
||||
);
|
||||
if (formats.includes("tty") || drawsText) throw new TextArtMediaError();
|
||||
return output;
|
||||
}
|
||||
|
||||
async function readFileRange(
|
||||
filePath: string,
|
||||
start: number,
|
||||
|
||||
@@ -271,6 +271,27 @@ describe("playlistLeavesItsFolder", () => {
|
||||
expect(await isNotMediaPayload(file)).toBe(true);
|
||||
});
|
||||
|
||||
it.each([
|
||||
["a git segment", hls("#EXTINF:1,", ".git/objects/seg.ts")],
|
||||
["an encoded app record", hls("#EXTINF:1,", "%2ehyperframes/agent-handoff.ts")],
|
||||
["a key file", hls('#EXT-X-KEY:METHOD=AES-128,URI="keys/id_rsa"', "#EXTINF:1,", "seg.ts")],
|
||||
["a credential folder in a map", hls('#EXT-X-MAP:URI=".ssh/init.mp4"', "#EXTINF:1,", "seg.ts")],
|
||||
["a concat entry in agent state", concat("'.claude/part.mp4'")],
|
||||
["an env file", concat(".env")],
|
||||
])("refuses %s that stays in its folder", async (_name, contents) => {
|
||||
const file = writeFixture("clip.m3u8", contents);
|
||||
expect(await playlistLeavesItsFolder(file)).toBe(true);
|
||||
expect(await isNotMediaPayload(file)).toBe(true);
|
||||
});
|
||||
|
||||
it("refuses a nested list naming a private file from its own folder", async () => {
|
||||
const master = writeTree({
|
||||
"master.m3u8": "#EXTM3U\n#EXT-X-STREAM-INF:BANDWIDTH=1\nsub/inner.m3u8\n",
|
||||
"sub/inner.m3u8": hls("#EXTINF:1,", ".git/seg.ts"),
|
||||
});
|
||||
expect(await playlistLeavesItsFolder(master)).toBe(true);
|
||||
});
|
||||
|
||||
it("refuses a list whose nested list names a file outside the top folder", async () => {
|
||||
const master = writeTree({
|
||||
"master.m3u8": "#EXTM3U\n#EXT-X-STREAM-INF:BANDWIDTH=1\nsub/inner.m3u8\n",
|
||||
|
||||
@@ -2,6 +2,7 @@ import { createHash } from "node:crypto";
|
||||
import { constants } from "node:fs";
|
||||
import { open as openFile } from "node:fs/promises";
|
||||
import { dirname, isAbsolute, relative, resolve } from "node:path";
|
||||
import { isPrivateFileUnder, isStudioPrivatePath } from "@hyperframes/core/safe-path";
|
||||
|
||||
export const NOT_MEDIA_PAYLOAD = "NOT_MEDIA_PAYLOAD" as const;
|
||||
|
||||
@@ -56,6 +57,14 @@ export class NotMediaPayloadError extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
/** A file ffmpeg reads as text art, which it would draw into video frames. */
|
||||
export class TextArtMediaError extends NotMediaPayloadError {
|
||||
constructor() {
|
||||
super([]);
|
||||
this.message = "Media source is a text file, not a media container";
|
||||
}
|
||||
}
|
||||
|
||||
/** Stable, bounded correlation key. Never the raw element id or source. */
|
||||
export function fingerprintElementId(elementId: string): string {
|
||||
return createHash("sha256").update(elementId).digest("hex").slice(0, 16);
|
||||
@@ -330,7 +339,7 @@ interface Walk {
|
||||
}
|
||||
|
||||
/**
|
||||
* True for an HLS or ffconcat list naming a file outside its folder; ffmpeg would open it. Never throws.
|
||||
* True for an HLS or ffconcat list naming a file outside its folder or private in it; ffmpeg would open it.
|
||||
* `placedAt` is where the file will live when it is read from elsewhere first (a download not yet published).
|
||||
*/
|
||||
export async function playlistLeavesItsFolder(
|
||||
@@ -430,6 +439,7 @@ async function entryLeaves(
|
||||
if (HTTP_URL.test(entry)) return false;
|
||||
for (const local of new Set([entry, percentDecoded(entry)])) {
|
||||
const nested = resolve(base, local);
|
||||
if (isPrivateFileUnder(walk.folder, nested, isStudioPrivatePath)) return true;
|
||||
let verdict = walk.verdicts.get(nested);
|
||||
if (verdict === undefined) {
|
||||
verdict = await listLeaves(nested, nested, walk, depth + 1);
|
||||
|
||||
Reference in New Issue
Block a user