()
| 28 | }; |
| 29 | |
| 30 | export const chatPromptsPath = async (): Promise<string> => { |
| 31 | return join(await chatRoot(), CHAT_PROMPTS_CSV); |
| 32 | }; |
| 33 | |
| 34 | type readJSONOpts = { defaultVal?: Record<string, any>; isRoot?: boolean; isList?: boolean }; |
| 35 | export const readJSON = async (path: string, opts: readJSONOpts = {}) => { |
nothing calls this directly
no test coverage detected