mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
chore(producer): keep the link read-through comment within the line limit (#8146)
This commit is contained in:
@@ -60,7 +60,7 @@ function rootOf(path: string, where: Where): MissingPathFacts["root"] {
|
||||
return "other";
|
||||
}
|
||||
|
||||
/** A dangling link on the way, read through to its target only when that target is in the temp root or the cache folder. */
|
||||
/** A dangling link on the way: read through only when its target is in the temp root or cache folder. */
|
||||
function goneThroughLink(link: string, where: Where, hops: number): MissingPathFacts["scope"] {
|
||||
const target = resolve(dirname(link), readlinkSync(link).replace(/^\\\\\?\\/, ""));
|
||||
return rootOf(target, where) !== "other" && hops < MAX_LINK_HOPS
|
||||
|
||||
Reference in New Issue
Block a user