Update Flutter desktop doc URL in error message (#96559)
When desktop support is not present in an existing project, certain flutter tool commands raise an error that direct the user to documentation on how to add desktop support to an existing Flutter project. In a recent revamp of the webside, the URL was very slightly changed (flutter.dev -> docs.flutter.dev). This updates the error message to output the new URL. Issue: https://github.com/flutter/flutter/issues/94398
This commit is contained in:
@@ -38,7 +38,7 @@ Future<void> buildLinux(
|
||||
target ??= 'lib/main.dart';
|
||||
if (!linuxProject.cmakeFile.existsSync()) {
|
||||
throwToolExit('No Linux desktop project configured. See '
|
||||
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app '
|
||||
'https://docs.flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app '
|
||||
'to learn about adding Linux support to a project.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user