Bump Dart SDK to 1.25.0-dev.9.0 (#11509)
* Bump Dart SDK to 1.25.0-dev.9.0 * add link to sdk bug
This commit is contained in:
committed by
GitHub
parent
3b76e7e258
commit
8a88e2efca
@@ -421,7 +421,7 @@ class _IOSDevicePortForwarder extends DevicePortForwarder {
|
||||
List<ForwardedPort> get forwardedPorts => _forwardedPorts;
|
||||
|
||||
@override
|
||||
Future<int> forward(int devicePort, {int hostPort: null}) async {
|
||||
Future<int> forward(int devicePort, {int hostPort}) async {
|
||||
if ((hostPort == null) || (hostPort == 0)) {
|
||||
// Auto select host port.
|
||||
hostPort = await portScanner.findAvailablePort();
|
||||
|
||||
@@ -697,7 +697,7 @@ class _IOSSimulatorDevicePortForwarder extends DevicePortForwarder {
|
||||
}
|
||||
|
||||
@override
|
||||
Future<int> forward(int devicePort, {int hostPort: null}) async {
|
||||
Future<int> forward(int devicePort, {int hostPort}) async {
|
||||
if ((hostPort == null) || (hostPort == 0)) {
|
||||
hostPort = devicePort;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user