Enable unnecessary_await_in_return lint (#77434)

This commit is contained in:
Michael Goderbauer
2021-03-05 18:38:15 -08:00
committed by GitHub
parent 8a9042ba91
commit cb867bbedc
91 changed files with 183 additions and 183 deletions

View File

@@ -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]),
);