(context: ScanContext)
| 721 | } |
| 722 | |
| 723 | function scanMath(context: ScanContext): void { |
| 724 | const statePath = getMathStatePath() |
| 725 | const { changed } = readNormalizedMathState() |
| 726 | if (!changed) { |
| 727 | return |
| 728 | } |
| 729 | |
| 730 | addItem(context, { |
| 731 | action: 'repair-math-state', |
| 732 | fingerprint: getFingerprint(statePath), |
| 733 | kind: 'math-sheet', |
| 734 | path: 'math/.state.yaml', |
| 735 | space: 'math', |
| 736 | status: 'pending', |
| 737 | }) |
| 738 | } |
| 739 | |
| 740 | function buildSummary(context: ScanContext): VaultDoctorResponse['summary'] { |
| 741 | const items = context.items |
no test coverage detected