enable prefer_function_declarations_over_variables lint (#77398)
This commit is contained in:
committed by
GitHub
parent
3571882e43
commit
807bb29888
@@ -77,7 +77,7 @@ Future<void> main() async {
|
||||
Directory(path.join(hostAppDir.path, 'gradle', 'wrapper')),
|
||||
);
|
||||
|
||||
final Function clean = () async {
|
||||
Future<void> clean() async {
|
||||
section('Clean');
|
||||
await inDirectory(hostAppDir, () async {
|
||||
await exec(gradlewExecutable,
|
||||
@@ -87,7 +87,7 @@ Future<void> main() async {
|
||||
},
|
||||
);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
if (!Platform.isWindows) {
|
||||
section('Make $gradlewExecutable executable');
|
||||
|
||||
Reference in New Issue
Block a user