-- unnecessary parens (#117081)

This commit is contained in:
Phil Quitslund
2022-12-14 13:18:37 -08:00
committed by GitHub
parent 57fb36ee0a
commit f9acb1e88c
3 changed files with 4 additions and 4 deletions

View File

@@ -635,7 +635,7 @@ class FlutterValidator extends DoctorValidator {
bool _filePathContainsDirPath(String directory, String file) {
// calling .canonicalize() will normalize for alphabetic case and path
// separators
return (_fileSystem.path.canonicalize(file))
return _fileSystem.path.canonicalize(file)
.startsWith(_fileSystem.path.canonicalize(directory) + _fileSystem.path.separator);
}