1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/tests/specs/compile/relative_permissions/main.ts
2024-09-05 15:22:31 +02:00

5 lines
97 B
TypeScript

try {
Deno.readTextFileSync("a.txt");
} catch (err) {
console.log((err as Error).message);
}