mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
remove --no-prompt flag, fail on missing permissions (#3183)
This commit is contained in:
parent
edd6a90da8
commit
2804ba8674
9 changed files with 68 additions and 199 deletions
|
@ -24,13 +24,7 @@ async function proxyRequest(req: ServerRequest): Promise<void> {
|
|||
|
||||
async function testFetch(): Promise<void> {
|
||||
const c = Deno.run({
|
||||
args: [
|
||||
Deno.execPath(),
|
||||
"--no-prompt",
|
||||
"--reload",
|
||||
"--allow-net",
|
||||
"045_proxy_client.ts"
|
||||
],
|
||||
args: [Deno.execPath(), "--reload", "--allow-net", "045_proxy_client.ts"],
|
||||
stdout: "piped",
|
||||
env: {
|
||||
HTTP_PROXY: `http://${addr}`
|
||||
|
@ -46,7 +40,6 @@ async function testModuleDownload(): Promise<void> {
|
|||
const http = Deno.run({
|
||||
args: [
|
||||
Deno.execPath(),
|
||||
"--no-prompt",
|
||||
"--reload",
|
||||
"fetch",
|
||||
"http://localhost:4545/std/examples/colors.ts"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue