Correct missing return statements in nullably-typed functions (#95428)
This commit is contained in:
@@ -273,4 +273,6 @@ String? _validateFlutterDir(String dirPath, { String? flutterRoot }) {
|
||||
case FileSystemEntityType.notFound:
|
||||
return null;
|
||||
}
|
||||
// In the case of any other [FileSystemEntityType]s, like the deprecated ones, return null.
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user