We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5b7bab commit 466a242Copy full SHA for 466a242
1 file changed
static/yelix-template.ts
@@ -39,12 +39,18 @@ export async function GET(ctx: Ctx) {
39
export const path = '/api/hello';
40
`.trim();
41
42
+// NEXT_LINE: WRITE_ACCESS
43
await Deno.writeTextFile("deno.json", deno_json);
44
45
await Deno.writeTextFile("main.ts", main_ts);
46
+
47
+// NEXT_LINE: READ_ACCESS
48
const isAPIExist = await exists("./api");
49
if (!isAPIExist) {
50
+ // NEXT_LINE: WRITE_ACCESS
51
await Deno.mkdir("api");
52
}
53
54
await Deno.writeTextFile("api/hello.ts", helloAPI_ts);
55
56
console.log('');
0 commit comments