fix upcoming lint avoid_returning_null_for_void (#23190)
This commit is contained in:
committed by
GitHub
parent
cab7ecb8e5
commit
8b0de38ef8
@@ -44,7 +44,7 @@ Future<void> runCommand(String executable, List<String> arguments, {
|
||||
final String relativeWorkingDir = path.relative(workingDirectory);
|
||||
if (skip) {
|
||||
printProgress('SKIPPING', relativeWorkingDir, commandDescription);
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
printProgress('RUNNING', relativeWorkingDir, commandDescription);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user