[flutter_tools] throwToolExit should return Never (#78954)

This commit is contained in:
Jia Hao
2021-03-25 01:40:03 +08:00
committed by GitHub
parent ea3d4dbd6e
commit aa1df71c20
16 changed files with 5 additions and 25 deletions

View File

@@ -81,7 +81,6 @@ String findChromeExecutable(Platform platform, FileSystem fileSystem) {
return fileSystem.path.join(windowsPrefix, kWindowsExecutable);
}
throwToolExit('Platform ${platform.operatingSystem} is not supported.');
return null;
}
/// Find the Microsoft Edge executable on the current platform.