mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
fix(compat): Changes an instance of collect::<Vec<_>>().join("") to collect::<String>() (#14082)
This commit is contained in:
parent
71de0c92b8
commit
acec460ab5
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ fn node_resolve(
|
|||
|
||||
if protocol == "node" {
|
||||
let split_specifier = url.as_str().split(':');
|
||||
let specifier = split_specifier.skip(1).collect::<Vec<_>>().join("");
|
||||
let specifier = split_specifier.skip(1).collect::<String>();
|
||||
if let Some(resolved) =
|
||||
crate::compat::try_resolve_builtin_module(&specifier)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue