(data: FeedbackState)
| 22 | } |
| 23 | |
| 24 | async function save(data: FeedbackState): Promise<void> { |
| 25 | await Bun.write(file, JSON.stringify(data, null, 2)) |
| 26 | } |
| 27 | |
| 28 | export async function shouldShowFeedback(sessionCount: number): Promise<boolean> { |
| 29 | const state = await load() |
no outgoing calls
no test coverage detected