File tree 1 file changed +10
-11
lines changed
1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -454,11 +454,11 @@ function NeotestClient:_update_adapters(dir)
454
454
if not found [adapter_id ] then
455
455
self ._adapters [adapter_id ] = adapter
456
456
found [adapter_id ] = true
457
- end
458
- if config . projects [ root ]. discovery . enabled then
459
- self : _update_positions ( root , { adapter = adapter_id })
460
- else
461
- self : _update_open_buf_positions ( adapter_id )
457
+ if config . projects [ root ]. discovery . enabled then
458
+ self : _update_positions ( root , { adapter = adapter_id })
459
+ else
460
+ self : _update_open_buf_positions ( adapter_id )
461
+ end
462
462
end
463
463
end
464
464
local root = lib .files .is_dir (dir ) and dir or async .fn .getcwd ()
@@ -467,12 +467,11 @@ function NeotestClient:_update_adapters(dir)
467
467
if not found [adapter_id ] then
468
468
self ._adapters [adapter_id ] = adapter
469
469
found [adapter_id ] = true
470
- end
471
-
472
- if config .projects [root ].discovery .enabled then
473
- self :_update_positions (root , { adapter = adapter_id })
474
- else
475
- self :_update_open_buf_positions (adapter_id )
470
+ if config .projects [root ].discovery .enabled then
471
+ self :_update_positions (root , { adapter = adapter_id })
472
+ else
473
+ self :_update_open_buf_positions (adapter_id )
474
+ end
476
475
end
477
476
end
478
477
end
You can’t perform that action at this time.
0 commit comments