Title says it all. Platform: `windows x86_64` Version: `2.2.12` ## Reproduction steps Run Deno with `--allow-import=https://example.com`: ``` > deno run --allow-import=https://example.com anything ``` Output: ``` ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: windows x86_64 Version: 2.2.12 Args: ["C:\\Users\\kally\\AppData\\Local\\Microsoft\\WinGet\\Packages\\DenoLand.Deno_Microsoft.Winget.Source_8wekyb3d8bbwe\\deno.exe", "run", "--allow-import=https://example.com", "anything"] View stack trace at: https://panic.deno.com/v2.2.12/x86_64-pc-windows-msvc/-w67Tg73ooCy90yoC-y0yoC86nzoCimoqhEgkqqhEstr1Mmyn1M8qs1M-j70Mo4_vMs5Y0qq3Dqu2pV0t0xHuiv8TyoqzDsm3pV40xwgEut0L4vqsB thread 'main' panicked at cli\args\flags.rs:5754:68: called `Result::unwrap()` on an `Err` value: ErrorInner { kind: InvalidValue, context: FlatMap { keys: [], values: [] }, message: Some(Raw("invalid value 'https://example.com': URLs are not supported, only domains and ips")), source: None, help_flag: None, styles: Styles { header: Style { fg: None, bg: None, underline: None, effects: Effects() }, error: Style { fg: None, bg: None, underline: None, effects: Effects() }, usage: Style { fg: None, bg: None, underline: None, effects: Effects() }, literal: Style { fg: None, bg: None, underline: None, effects: Effects() }, placeholder: Style { fg: None, bg: None, underline: None, effects: Effects() }, valid: Style { fg: None, bg: None, underline: None, effects: Effects() }, invalid: Style { fg: None, bg: None, underline: None, effects: Effects() } }, color_when: Never, color_help_when: Never, backtrace: None } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` Expected result: Deno produces an error message indicating that `--allow-import` requires a particular format.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by KallynGowdy and has received 0 comments.