( eventName: DevEventName, schema: string, )
| 238 | } |
| 239 | |
| 240 | export function getDevDataFilePath( |
| 241 | eventName: DevEventName, |
| 242 | schema: string, |
| 243 | ): string { |
| 244 | const versionPath = path.join(getDevDataPath(), schema); |
| 245 | if (!fs.existsSync(versionPath)) { |
| 246 | fs.mkdirSync(versionPath); |
| 247 | } |
| 248 | return path.join(versionPath, `${String(eventName)}.jsonl`); |
| 249 | } |
| 250 | |
| 251 | function editConfigJson( |
| 252 | callback: (config: SerializedContinueConfig) => SerializedContinueConfig, |
no test coverage detected