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:
Chris Bracken
2022-01-12 18:21:05 -08:00
committed by GitHub
parent d063961dda
commit 20ff180ae8
6 changed files with 8 additions and 8 deletions

View File

@@ -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.');
}