Revert "Migrate core devicelab tasks a-f null safety. (#85996)" (#86268)

This reverts commit 9d3563a8ea.
This commit is contained in:
Darren Austin
2021-07-11 23:17:00 -07:00
committed by GitHub
parent 83835436cb
commit 28cb43e601
58 changed files with 126 additions and 10 deletions

View File

@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import 'dart:io';
import 'package:flutter_devicelab/framework/apk_utils.dart';
@@ -18,7 +20,7 @@ Future<void> main() async {
await task(() async {
section('Find Java');
final String? javaHome = await findJavaHome();
final String javaHome = await findJavaHome();
if (javaHome == null)
return TaskResult.failure('Could not find Java');
print('\nUsing JAVA_HOME=$javaHome');