(error: unknown)
| 54 | useEffect(() => { |
| 55 | let alive = true; |
| 56 | const fail = (error: unknown) => { |
| 57 | if (alive) setReading({ key: readKey, error: error instanceof Error ? error.message : String(error) }); |
| 58 | }; |
| 59 | if (!project || !target.filePath || /[\x00-\x1f\x7f]/.test(target.filePath)) { |
| 60 | fail('Select a project and a valid repository file to inspect source evidence.'); |
| 61 | return; |
no test coverage detected