Skip to content

Commit 466a242

Browse files
access spesification
1 parent c5b7bab commit 466a242

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

static/yelix-template.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,18 @@ export async function GET(ctx: Ctx) {
3939
export const path = '/api/hello';
4040
`.trim();
4141

42+
// NEXT_LINE: WRITE_ACCESS
4243
await Deno.writeTextFile("deno.json", deno_json);
44+
// NEXT_LINE: WRITE_ACCESS
4345
await Deno.writeTextFile("main.ts", main_ts);
46+
47+
// NEXT_LINE: READ_ACCESS
4448
const isAPIExist = await exists("./api");
4549
if (!isAPIExist) {
50+
// NEXT_LINE: WRITE_ACCESS
4651
await Deno.mkdir("api");
4752
}
53+
// NEXT_LINE: WRITE_ACCESS
4854
await Deno.writeTextFile("api/hello.ts", helloAPI_ts);
4955

5056
console.log('');

0 commit comments

Comments
 (0)