1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 13:00:36 -05:00

ooop slight syntax sugar

This commit is contained in:
Benjamin Swerdlow 2025-01-08 22:43:33 -08:00
parent fc0f5d6364
commit 7b2530712b

View file

@ -207,7 +207,7 @@ impl<
specifier,
referrer,
resolution_mode,
self.conditions_from_resolution_mode(resolution_mode),
(self.conditions_from_resolution_mode)(resolution_mode),
resolution_kind,
)?;
@ -349,7 +349,7 @@ impl<
&package_subpath,
maybe_referrer,
resolution_mode,
self.conditions_from_resolution_mode(resolution_mode),
(self.conditions_from_resolution_mode)(resolution_mode),
resolution_kind,
)?;
// TODO(bartlomieju): skipped checking errors for commonJS resolution and
@ -480,7 +480,7 @@ impl<
/* sub path */ ".",
maybe_referrer,
resolution_mode,
self.conditions_from_resolution_mode(resolution_mode),
(self.conditions_from_resolution_mode)(resolution_mode),
NodeResolutionKind::Types,
);
if let Ok(resolution) = resolution_result {