Functions

f
reportBadPath(
repl: ReplContext,
command: string,
typed: string,
found: Exclude<FoundPath, { kind: "file"; }>
): void

Says why a typed path did not open, and puts the part that WAS real back on the prompt.

Usage

import * as mod from "lib/commands/repl/report-bad-path.ts";