Enable avoid_redundant_argument_values lint (#91409)
This commit is contained in:
@@ -46,7 +46,6 @@ Future<vms.VmService> _waitAndConnect(
|
||||
final vms.VmService service = vms.VmService(
|
||||
controller.stream,
|
||||
socket.add,
|
||||
log: null,
|
||||
disposeHandler: () => socket.close(),
|
||||
streamClosed: streamClosedCompleter.future
|
||||
);
|
||||
|
||||
@@ -260,8 +260,7 @@ class FuchsiaRemoteConnection {
|
||||
if (event.eventType == DartVmEventType.started) {
|
||||
_log.fine('New VM found on port: ${event.servicePort}. Searching '
|
||||
'for Isolate: $pattern');
|
||||
final DartVm? vmService = await _getDartVm(event.uri,
|
||||
timeout: _kDartVmConnectionTimeout);
|
||||
final DartVm? vmService = await _getDartVm(event.uri);
|
||||
// If the VM service is null, set the result to the empty list.
|
||||
final List<IsolateRef> result = await vmService?.getMainIsolatesByPattern(pattern!) ?? <IsolateRef>[];
|
||||
if (result.isNotEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user