diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-06-08 20:05:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-08 20:05:28 -0400 |
commit | 31154ff95899166a2535fc859c1fca2cbf19d422 (patch) | |
tree | 1497c08b1c88e271c48d19539b6d619b4db82cb9 /ext/node/ops | |
parent | 32f5b4808ef7591401b46ea5bb3d680c18dedf20 (diff) |
fix(check): attempt to resolve types from pkg before `@types` pkg (#24152)
I've been meaning to fix this for ages, but I finally ran into it here:
https://github.com/dsherret/ts-ast-viewer/actions/runs/9432038675/job/25981325408
We need to resolve the `@types` package as a fallback instead of eagerly
resolving it.
Diffstat (limited to 'ext/node/ops')
-rw-r--r-- | ext/node/ops/require.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/node/ops/require.rs b/ext/node/ops/require.rs index 3e1f1c6ae..3fde6c31a 100644 --- a/ext/node/ops/require.rs +++ b/ext/node/ops/require.rs @@ -198,7 +198,6 @@ pub fn op_require_resolve_deno_dir( &ModuleSpecifier::from_file_path(&parent_filename).unwrap_or_else(|_| { panic!("Url::from_file_path: [{:?}]", parent_filename) }), - NodeResolutionMode::Execution, ) .ok() .map(|p| p.to_string_lossy().to_string()) |