示例工程 48-project-security-auditor

48-project-security-auditor/app/fixtures/bad/paths.txt

text · 0.2 KB

// fixture: paths.ts
import path from "node:path";
export function readNote(req: { path: string }): string {
  return path.join("/app/workspace", req.path);
}