(dir: string, pathname: string)
| 154 | } |
| 155 | |
| 156 | async function readProjectFile(dir: string, pathname: string): Promise<string> { |
| 157 | const filePath = path.join(dir, ...pathname.split("/").filter(Boolean)); |
| 158 | const content = await Deno.readTextFile(filePath); |
| 159 | return content; |
| 160 | } |
| 161 | |
| 162 | Deno.test("init - show help", async () => { |
| 163 | using logs = stubLogs(); |
no test coverage detected