(context: unknown)
| 637 | } |
| 638 | // a pruned build's issue features, once its scan has read every validator |
| 639 | const issueFeaturesOf = async (context: unknown) => { |
| 640 | const built = builtReadOf(context) |
| 641 | if (built) return built.issues |
| 642 | const build = buildOf(context) |
| 643 | const pending = pendingScans.get(build) |
| 644 | return (pending ? await pending.scanned : scansByBuild.get(build))?.issues |
| 645 | } |
| 646 | // the constants' module, or a runtime module with each read of one written |
| 647 | // as what it is, so the bundle needs no minifier to fold them |
| 648 | const loadIssueFeatures = async (context: unknown, id: string) => { |
no test coverage detected