mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
ooop slight syntax sugar
This commit is contained in:
parent
fc0f5d6364
commit
7b2530712b
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue