File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/oxc_linter/src/config Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ impl ConfigStoreBuilder {
414414
415415 let resolved = resolver. resolve ( oxlintrc_dir_path, plugin_name) . map_err ( |e| {
416416 ConfigBuilderError :: PluginLoadFailed {
417- plugin_name : plugin_name. into ( ) ,
417+ plugin_name : plugin_name. to_string ( ) ,
418418 error : e. to_string ( ) ,
419419 }
420420 } ) ?;
@@ -425,14 +425,14 @@ impl ConfigStoreBuilder {
425425 tokio:: runtime:: Handle :: current ( ) . block_on ( ( external_linter. load_plugin ) ( plugin_path) )
426426 } )
427427 . map_err ( |e| ConfigBuilderError :: PluginLoadFailed {
428- plugin_name : plugin_name. into ( ) ,
428+ plugin_name : plugin_name. to_string ( ) ,
429429 error : e. to_string ( ) ,
430430 } ) ?;
431431
432432 match result {
433433 PluginLoadResult :: Success => Ok ( ( ) ) ,
434434 PluginLoadResult :: Failure ( e) => Err ( ConfigBuilderError :: PluginLoadFailed {
435- plugin_name : plugin_name. into ( ) ,
435+ plugin_name : plugin_name. to_string ( ) ,
436436 error : e,
437437 } ) ,
438438 }
You can’t perform that action at this time.
0 commit comments