Enable unnecessary_await_in_return lint (#77434)
This commit is contained in:
committed by
GitHub
parent
8a9042ba91
commit
cb867bbedc
@@ -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