File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ use base::server::ServerEvent;
2525use base:: server:: ServerFlags ;
2626use base:: server:: ServerHealth ;
2727use base:: server:: Tls ;
28+ use base:: utils:: test_utils;
2829use base:: utils:: test_utils:: create_test_user_worker;
2930use base:: utils:: test_utils:: ensure_npm_package_installed;
3031use base:: utils:: test_utils:: test_user_runtime_opts;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ pub fn load_import_map(
1818 // the data URI takes the following format
1919 // data:{encodeURIComponent(mport_map.json)?{encodeURIComponent(base_path)}
2020 if path_str. starts_with ( "data:" ) {
21- let data_uri = Url :: parse ( & path_str) ?;
21+ let data_uri = Url :: parse ( path_str) ?;
2222 json_str = decode ( data_uri. path ( ) ) ?. into_owned ( ) ;
2323 if let Some ( query) = data_uri. query ( ) {
2424 base_url = Url :: from_directory_path ( decode ( query) ?. into_owned ( ) )
You can’t perform that action at this time.
0 commit comments