fix upcoming lint avoid_returning_null_for_void (#23190)

This commit is contained in:
Alexandre Ardhuin
2018-10-17 11:01:37 +02:00
committed by GitHub
parent cab7ecb8e5
commit 8b0de38ef8
13 changed files with 13 additions and 18 deletions

View File

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