[flutter_tool] Fix fuchsia_reload command for new .packages location (#12825)

This commit is contained in:
Zachary Anderson
2017-11-10 10:10:07 -08:00
committed by P.Y. Laligand
parent 9ae893bd45
commit f993cc36dd

View File

@@ -329,7 +329,7 @@ class FuchsiaReloadCommand extends FlutterCommand {
throwToolExit('Couldn\'t find application entry point at $_target.');
final String packagesFileName = '${_projectName}_dart_package.packages';
_dotPackagesPath = '$_fuchsiaRoot/out/$_buildType/gen/$_projectRoot/$packagesFileName';
_dotPackagesPath = '$_fuchsiaRoot/out/$_buildType/dartlang/gen/$_projectRoot/$packagesFileName';
if (!_fileExists(_dotPackagesPath))
throwToolExit('Couldn\'t find .packages file at $_dotPackagesPath.');