@@ -8,7 +8,7 @@ import 'dart:io';
88import 'package:analysis_server_client/handler/notification_handler.dart' ;
99import 'package:analysis_server_client/listener/server_listener.dart' ;
1010import 'package:analysis_server_client/protocol.dart' ;
11- import 'package:analysis_server_client/server .dart' ;
11+ import 'package:nnbd_migration/isolate_server .dart' ;
1212import 'package:args/command_runner.dart' ;
1313import 'package:cli_util/cli_logging.dart' ;
1414import 'package:nnbd_migration/src/messages.dart' ;
@@ -88,18 +88,11 @@ class MigrateCommand extends Command {
8888
8989 Map <String , List <AnalysisError >> fileErrors = {};
9090
91- bool enableAsserts = false ;
9291 String instrumentationLogFile;
93- bool profileServer = false ;
94- String serverPath = options.serverPath;
95- int servicesPort;
9692 String sdkPath = options.sdkPath;
9793 bool stdioPassthrough = false ;
9894
9995 if (options.debug) {
100- enableAsserts = true ;
101- profileServer = true ;
102- servicesPort = 9500 ;
10396 stdioPassthrough = true ;
10497 instrumentationLogFile = path.join (
10598 Directory .systemTemp.createTempSync ('migration_debug' ).path,
@@ -116,11 +109,7 @@ class MigrateCommand extends Command {
116109 await server.start (
117110 clientId: 'dart $name ' ,
118111 clientVersion: _dartSdkVersion,
119- enableAsserts: enableAsserts,
120112 instrumentationLogFile: instrumentationLogFile,
121- profileServer: profileServer,
122- serverPath: serverPath,
123- servicesPort: servicesPort,
124113 sdkPath: sdkPath);
125114 _ServerNotifications serverNotifications = _ServerNotifications (server);
126115 await serverNotifications.listenToServer (server);
0 commit comments