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 @@ -17,6 +17,7 @@ use std::time::Duration;
1717use anyhow:: Context ;
1818use async_tungstenite:: WebSocketStream ;
1919use base:: get_default_permissions;
20+ use base:: utils:: test_utils;
2021use base:: integration_test;
2122use base:: integration_test_listen_fut;
2223use base:: integration_test_with_server_flag;
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