mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
refactor: make resolver required (#17783)
Makes the resolver required and prints a warning when vendoring and a dynamic import can't be resolved. Closes #16522
This commit is contained in:
parent
c7535950b6
commit
b34e751a5b
19 changed files with 197 additions and 146 deletions
|
@ -3379,6 +3379,9 @@ async fn test_resolve_dns() {
|
|||
.unwrap();
|
||||
let err = String::from_utf8_lossy(&output.stderr);
|
||||
let out = String::from_utf8_lossy(&output.stdout);
|
||||
if !output.status.success() {
|
||||
eprintln!("stderr: {err}");
|
||||
}
|
||||
assert!(output.status.success());
|
||||
assert!(err.starts_with("Check file"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue