From f2116cb0b2af0be03502a2dcdffd755cb8cef233 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Sat, 14 May 2022 10:28:35 -0700 Subject: [PATCH] [tool] Fix BuildInfo.packagesPath doc comment (#103785) Until recently, BuildInfo.packagesPath defaulted to `.packages` however, the .packages file has been deprecated [1] and is being removed. In https://github.com/flutter/flutter/pull/99677 the default was changed to `.dart_tool/package_config.json` but the doc comment was accidentally updated to `.dart_tool/packages`. This corrects it to the true default value. 1: https://github.com/dart-lang/sdk/issues/48272 Spotted in the midst of some related cleanup relating to https://github.com/flutter/flutter/issues/103775 --- packages/flutter_tools/lib/src/build_info.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/build_info.dart b/packages/flutter_tools/lib/src/build_info.dart index 954e678716b1..fe8ece7a583b 100644 --- a/packages/flutter_tools/lib/src/build_info.dart +++ b/packages/flutter_tools/lib/src/build_info.dart @@ -70,7 +70,7 @@ class BuildInfo { /// The path to the package configuration file to use for compilation. /// /// This is used by package:package_config to locate the actual package_config.json - /// file. If not provided, defaults to `.dart_tool/packages`. + /// file. If not provided, defaults to `.dart_tool/package_config.json`. final String packagesPath; final List fileSystemRoots;