()
| 63 | } |
| 64 | |
| 65 | function profilePath(): string { |
| 66 | const slug = path.basename(workdir); |
| 67 | return path.join(stateDir, 'projects', slug, 'taste-profile.json'); |
| 68 | } |
| 69 | |
| 70 | function readProfile(): TasteProfile { |
| 71 | return JSON.parse(fs.readFileSync(profilePath(), 'utf-8')); |
no outgoing calls
no test coverage detected