You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Deno Emit on a file in the current working directory:
// example.ts
import { emit } from "https://deno.land/x/emit@0.0.1/mod.ts";
const url = new URL("./example.ts", import.meta.url);
const result = await emit(url.href);
console.log(result);
If I start this with --allow-read=. it complains that I need full system --allow-read. We should be able to use emit on a file in the current working directory without requiring full system read access.
I used Deno 🦖 1.22.0
The text was updated successfully, but these errors were encountered:
Thanks @kitsonk. However, if I set my DENO_DIR to something below my current working directory (or even export DENO_DIR=$PWD) it still complains that I need --allow-read.
I'm trying to use Deno Emit on a file in the current working directory:
If I start this with
--allow-read=.
it complains that I need full system--allow-read
. We should be able to useemit
on a file in the current working directory without requiring full system read access.I used Deno 🦖 1.22.0
The text was updated successfully, but these errors were encountered: