forked from firka/flutter
Enable unnecessary_await_in_return lint (#77434)
This commit is contained in:
committed by
GitHub
parent
8a9042ba91
commit
cb867bbedc
@@ -210,7 +210,7 @@ class ApkExtractor {
|
||||
|
||||
/// Gets the content of the `AndroidManifest.xml`.
|
||||
Future<String> getAndroidManifest(String apk) async {
|
||||
return await _evalApkAnalyzer(
|
||||
return _evalApkAnalyzer(
|
||||
<String>[
|
||||
'manifest',
|
||||
'print',
|
||||
|
||||
@@ -750,7 +750,7 @@ Future<int> gitClone({String path, String repo}) async {
|
||||
|
||||
await Directory(path).create(recursive: true);
|
||||
|
||||
return await inDirectory<int>(
|
||||
return inDirectory<int>(
|
||||
path,
|
||||
() => exec('git', <String>['clone', repo]),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user