1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -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);
}