File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/config/src/providers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -356,11 +356,11 @@ impl Provider for DappHardhatDirProvider<'_> {
356356 let lib = self . 0 . join ( "lib" ) ;
357357 if node_modules. exists ( ) {
358358 if lib. exists ( ) {
359- libs. push ( lib. file_name ( ) . unwrap ( ) . to_string_lossy ( ) . to_string ( ) ) ;
359+ libs. push ( lib. file_name ( ) . unwrap ( ) . to_string_lossy ( ) . into_owned ( ) ) ;
360360 }
361- libs. push ( node_modules. file_name ( ) . unwrap ( ) . to_string_lossy ( ) . to_string ( ) ) ;
361+ libs. push ( node_modules. file_name ( ) . unwrap ( ) . to_string_lossy ( ) . into_owned ( ) ) ;
362362 } else {
363- libs. push ( lib. file_name ( ) . unwrap ( ) . to_string_lossy ( ) . to_string ( ) ) ;
363+ libs. push ( lib. file_name ( ) . unwrap ( ) . to_string_lossy ( ) . into_owned ( ) ) ;
364364 }
365365
366366 dict. insert ( "libs" . to_string ( ) , libs. into ( ) ) ;
You can’t perform that action at this time.
0 commit comments