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
// 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 try to run it with:
deno run --no-prompt emit_example.ts
or if I set:
export DENO_NO_PROMPT=1
Deno still prompts for permissions. This happens with Deno 1.22.0 🦖. I test this with a simple example that just Deno.readFileSync and the flags work fine there, so it seems specific to Deno Emit.
The text was updated successfully, but these errors were encountered:
With the following example:
If I try to run it with:
or if I set:
Deno still prompts for permissions. This happens with Deno 1.22.0 🦖. I test this with a simple example that just
Deno.readFileSync
and the flags work fine there, so it seems specific to Deno Emit.The text was updated successfully, but these errors were encountered: