(sessions: Array<Record<string, unknown>>)
| 54 | } |
| 55 | |
| 56 | function writeLegacyProfile(sessions: Array<Record<string, unknown>>) { |
| 57 | const content = sessions.map((s) => JSON.stringify(s)).join('\n') + '\n'; |
| 58 | fs.writeFileSync(path.join(tmpHome, 'builder-profile.jsonl'), content); |
| 59 | } |
| 60 | |
| 61 | function readProfile(): Record<string, unknown> { |
| 62 | const file = path.join(tmpHome, 'developer-profile.json'); |
no outgoing calls
no test coverage detected